Changeset 9206 in project


Ignore:
Timestamp:
03/06/08 16:04:48 (12 years ago)
Author:
Kon Lovett
Message:

Fix for todo/gloss/skip warn doc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/testbase

    r9041 r9206  
    6767
    6868<macro>(define-for-syntax test::timing FLAG)</macro>
     69
    6970<macro>(define-for-syntax test::filtering FLAG)</macro>
     71
    7072<macro>(define-for-syntax test::catching FLAG)</macro>
     73
    7174<macro>(define-for-syntax test::selecting FLAG)</macro>
     75
    7276<macro>(define-for-syntax test::limiting FLAG)</macro>
    7377
     
    126130
    127131<macro>(define-test PROCEDURE-VARIABLE [TEST-NAME] [(initial FORM ...)] [(final FORM ...)] CLAUSE ...)</macro>
     132
    128133<macro>(define-test (PROCEDURE-VARIABLE VARIABLE ...) [TEST-NAME] [(initial FORM ...)] [(final FORM ...)] CLAUSE ...)</macro>
    129134
     
    202207Returns the formal argument list of the test-procedure.
    203208
    204 <br/><procedure>(test::declarations TEST-IDENTIFIER)</procedure>
     209<procedure>(test::declarations TEST-IDENTIFIER)</procedure>
    205210
    206211Returns a list of {{(test-procedure actual-test-name
     
    479484
    480485<macro>(test-suite TEST-NAME DTOR-NAME ESCR-NAME [(warn MESSAGE)] [((VARIABLE VALUE) ...)] CLAUSE ...)</macro>
     486
    481487<macro>(test/suite TEST-NAME [((VARIABLE VALUE) ...)] CLAUSE ...)</macro>
    482488
     
    522528
    523529<macro>(test-case TEST-NAME DTOR-NAME ESCR-NAME [(warn MESSAGE)] [((VARIABLE VALUE) ...)] CLAUSE ...)</macro>
     530
    524531<macro>(test/case TEST-NAME [((VARIABLE VALUE) ...)] CLAUSE ...)</macro>
    525532
     
    562569
    563570<macro>(test-collect TEST-NAME DTOR-NAME ESCR-NAME [(warn MESSAGE)] [((VARIABLE VALUE) ...)] EXPRESSION ...)</macro>
     571
    564572<macro>(test/collect TEST-NAME [((VARIABLE VALUE) ...)] EXPRESSION ...)</macro>
    565573
     
    691699
    692700<macro>(insist [TEST-NAME] [(warn MESSAGE)] EXPRESSION => EXPECTED)</macro>
     701
    693702<macro>(insist [TEST-NAME] [(warn MESSAGE)] EXPRESSION (=> PREDICATE) EXPECTED)</macro>
    694703
     
    12681277
    12691278<macro>(test-eval [TEST-NAME] EXPRESSION)</macro>
     1279
    12701280<macro>(test/eq [TEST-NAME] EXPRESSION EXPECTED)</macro>
     1281
    12711282<macro>(test/eqv [TEST-NAME] EXPRESSION EXPECTED)</macro>
     1283
    12721284<macro>(test/equal [TEST-NAME] EXPRESSION EXPECTED)</macro>
    12731285
     
    13081320
    13091321<macro>(destructor-atexit! [DTOR-NAME] CALL ...)</macro>
     1322
    13101323<macro>(destructor-atexit! DTOR-NAME PROC ARGUMENT ...)</macro>
    13111324
     
    13721385the testbase system.
    13731386
    1374 ===== Gloss</a></h4>
     1387===== Gloss
    13751388
    13761389The purpose of the gloss API is to allow the author of a test suite
     
    13781391documentation purposes.
    13791392
    1380 <macro>(gloss [(warn WARNING)] MESSAGE)</macro>
     1393<macro>(gloss MESSAGE [(warn WARNING)])</macro>
    13811394
    13821395{{MESSAGE}} can be any scheme object, though usually it is a
     
    13921405completely skip evaluation of a set of expressions.
    13931406
    1394 <macro>(skip [(warn WARNING)] MESSAGE CLAUSES)</macro>
     1407<macro>(skip MESSAGE [(warn WARNING)] CLAUSES)</macro>
    13951408
    13961409{{MESSAGE}} can be any scheme object, though usually it is a
     
    14181431
    14191432<macro>(terminate MESSAGE)</macro>
     1433
    14201434<macro>(terminate MESSAGE FINDING)</macro>
     1435
    14211436<macro>(terminate ESCR-NAME MESSAGE)</macro>
     1437
    14221438<macro>(terminate ESCR-NAME MESSAGE FINDING)</macro>
    14231439
     
    14421458this information at a later date.
    14431459
    1444 <macro>(todo [(warn WARNING)] MESSAGE)</macro>
     1460<macro>(todo MESSAGE [(warn WARNING)])</macro>
    14451461
    14461462{{MESSAGE}} can be any scheme object, though usually it is a string.
     
    20282044
    20292045<procedure>(test::stat-test-suites STATISTICS)</procedure>
     2046
    20302047<procedure>(test::stat-test-suite-warnings STATISTICS)</procedure>
     2048
    20312049<procedure>(test::stat-test-suites-passed STATISTICS)</procedure>
     2050
    20322051<procedure>(test::stat-test-suites-failed STATISTICS)</procedure>
     2052
    20332053<procedure>(test::stat-test-suites-timing STATISTICS)</procedure>
     2054
    20342055<procedure>(test::stat-test-suites-terminated STATISTICS)</procedure>
     2056
    20352057<procedure>(test::stat-test-cases STATISTICS)</procedure>
     2058
    20362059<procedure>(test::stat-test-case-warnings STATISTICS)</procedure>
     2060
    20372061<procedure>(test::stat-test-cases-passed STATISTICS)</procedure>
     2062
    20382063<procedure>(test::stat-test-cases-failed STATISTICS)</procedure>
     2064
    20392065<procedure>(test::stat-test-cases-timing STATISTICS)</procedure>
     2066
    20402067<procedure>(test::stat-test-cases-terminated STATISTICS)</procedure>
     2068
    20412069<procedure>(test::stat-all-expectations STATISTICS)</procedure>
     2070
    20422071<procedure>(test::stat-all-expectation-warnings STATISTICS)</procedure>
     2072
    20432073<procedure>(test::stat-all-expectations-passed STATISTICS)</procedure>
     2074
    20442075<procedure>(test::stat-all-expectations-failed STATISTICS)</procedure>
     2076
    20452077<procedure>(test::stat-all-expectations-timing STATISTICS)</procedure>
     2078
    20462079<procedure>(test::stat-single-expectations STATISTICS)</procedure>
     2080
    20472081<procedure>(test::stat-single-expectation-warnings STATISTICS)</procedure>
     2082
    20482083<procedure>(test::stat-single-expectations-passed STATISTICS)</procedure>
     2084
    20492085<procedure>(test::stat-single-expectations-failed STATISTICS)</procedure>
     2086
    20502087<procedure>(test::stat-single-expectations-timing STATISTICS)</procedure>
     2088
    20512089<procedure>(test::stat-tol-expectations STATISTICS)</procedure>
     2090
    20522091<procedure>(test::stat-tol-expectation-warnings STATISTICS)</procedure>
     2092
    20532093<procedure>(test::stat-tol-expectations-passed STATISTICS)</procedure>
     2094
    20542095<procedure>(test::stat-tol-expectations-failed STATISTICS)</procedure>
     2096
    20552097<procedure>(test::stat-tol-expectations-timing STATISTICS)</procedure>
     2098
    20562099<procedure>(test::stat-equiv-expectations STATISTICS)</procedure>
     2100
    20572101<procedure>(test::stat-equiv-expectation-warnings STATISTICS)</procedure>
     2102
    20582103<procedure>(test::stat-equiv-expectations-passed STATISTICS)</procedure>
     2104
    20592105<procedure>(test::stat-equiv-expectations-failed STATISTICS)</procedure>
     2106
    20602107<procedure>(test::stat-equiv-expectations-timing STATISTICS)</procedure>
     2108
    20612109<procedure>(test::stat-todos STATISTICS)</procedure>
     2110
    20622111<procedure>(test::stat-todo-warnings STATISTICS)</procedure>
     2112
    20632113<procedure>(test::stat-skips STATISTICS)</procedure>
     2114
    20642115<procedure>(test::stat-skip-warnings STATISTICS)</procedure>
     2116
    20652117<procedure>(test::stat-glosses STATISTICS)</procedure>
     2118
    20662119<procedure>(test::stat-gloss-warnings STATISTICS)</procedure>
     2120
    20672121<procedure>(test::stat-terminations STATISTICS)</procedure>
    20682122
     
    20722126
    20732127<procedure>(test::write-object OBJECT)</procedure>
     2128
    20742129<procedure>(test::display-objects [OBJECT ...])</procedure>
     2130
    20752131<procedure>(test::display-objects-newline [OBJECT ...])</procedure>
     2132
    20762133<procedure>(test::display-indent INDENT)</procedure>
     2134
    20772135<procedure>(test::display-indented-objects INDENT [OBJECT ...])</procedure>
     2136
    20782137<procedure>(test::display-indented-objects-newline INDENT [OBJECT ...])</procedure>
    20792138
Note: See TracChangeset for help on using the changeset viewer.