Changeset 9867 in project


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

New release.

Location:
wiki
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wiki/testbase-driver

    r9788 r9867  
    190190=== Version History
    191191
     192; 1.3.1 : Needs "testbase-results" >= 2.1.0
    192193; 1.3.0 : Fix for single valued command line arguments
    193194; 1.2.1 : Added 'test-take'
  • wiki/testbase-results

    r9555 r9867  
    106106
    107107
    108 === Test Results Open Port Procedures
     108=== Test Results Port Procedures
    109109
    110110==== read-test-results-rows
     
    128128==== make-test-results-row
    129129
    130 <procedure>(make-test-results-row knd RESULTS . FIELDS)</procedure>
     130<procedure>(make-test-results-row RESULTS [FIELD ...])</procedure>
    131131
    132132Returns a test results file entry for the test results {{RESULTS}} and the
    133 optional {{FIELDS}}.
     133optional {{FIELD ...}}.
     134
     135A {{FIELD}} is a {{pair}} of {{(KEY . VALUE)}}.
    134136
    135137==== test-results-row-field
     
    138140
    139141Returns the test results file entry {{ROW}} field of the given name {{KEY}}.
    140 
    141 ==== test-results-row-model
    142 
    143 <procedure>(test-results-row-model ROW)</procedure>
    144 
    145 Returns the test results file entry {{ROW}} {{model}} field, a string.
    146142
    147143==== test-results-row-when
     
    213209; location : A test identifier (name or id). Atomic, but usually a string or symbol.
    214210
     211
    215212=== Test Result Procedures
    216213
     
    270267(require-extension testbase-reports)
    271268
     269==== test-results-row-match?
     270
     271<procedure>(test-results-row-match? ROW [KEY OPER VAL] ...)</procedure>
     272
     273Returns {{#t}} when all match expressions {{KEY OPER VAL}} are true, and {{#f}}
     274otherwise. Operates as if there is an implicit {{AND}} between each match
     275expression.
     276
     277{{KEY}} is a {{symbol}}. A test-results-row field name.
     278
     279{{OPER}} is one of {{= < > <= >= <>}}.
     280
     281{{VAL}} is some object of the proper type for the test-results-row field.
     282
     283==== declare-test-results-row-field
     284
     285<procedure>(declare-test-results-row-field [KEY PRED COMP] ...)</procedure>
     286
     287Sets the type predicate {{PRED}} & comparison function {{COMP}} for the
     288test-results-row field named {{KEY}}.
     289
     290{{KEY}} is a {{symbol}}.
     291
     292{{PRED}} is single-argument function returning {{#t}} when {{OBJECT}} is of the
     293correct type, and {{#f}} otherwise.
     294
     295{{COMP}} is a two-argument function returning a {{negative fixnum}} for {{A <
     296B}}, {{zero fixnum}} for {{A = B}}, and {{positive fixnum}} for {{A > B}}.
     297
     298; {{when}}      : ten-element time-vector, using {{#f}} for missing element.
     299; {{model}}     : symbol, {{compile}} or {{interpret}}.
     300; {{mode}}      : symbol, {{all}} or {{errors}}.
     301; {{feature}}   : list of symbol, a module-identifier.
     302
     303; {{purpose}}   : list. ''Cannot be matched.''
     304; {{results}}   : list. ''Cannot be matched.''
     305
     306The {{time-vector}} comparison checks the three-element time & three-element
     307date components. Either must be complete (no {{#f}} elements) for a valid
     308comparison.
     309
     310Comparisons are case-sensitive.
     311
    272312==== print-test-result
    273313
     
    284324==== print-test-results-row
    285325
    286 <procedure>(print-test-results-row ROW)</procedure>
     326<procedure>(print-test-results-row ROW [KEY OPER VAL] ...)</procedure>
    287327
    288328Print the test results file entry {{ROW}} to the current output port.
     
    290330==== print-test-results-rows
    291331
    292 <procedure>(print-test-results-rows ROWS)</procedure>
     332<procedure>(print-test-results-rows ROWS [KEY OPER VAL] ...)</procedure>
    293333
    294334Print the test results file entry list {{ROWS}} to the current output port.
     
    296336==== print-test-results-file
    297337
    298 <procedure>(print-test-results-file FILENAME)</procedure>
     338<procedure>(print-test-results-file FILENAME [KEY OPER VAL] ...)</procedure>
    299339
    300340Print the test results file {{FILENAME}} to the current output port. If
     
    338378== Version History
    339379
    340 ; 2.0.0 : Removed 'fold-test-results-rows' & added optional folding paramters to 'read-test-results-rows' & 'read-test-results-file'
     380; 2.1.0 : Removed 'knd' parameter from 'make-test-results-row'. Removed 'test-results-row-model' Added 'declare-test-results-row-field' & 'test-results-row-match?'.
     381; 2.0.0 : Removed 'fold-test-results-rows' & added optional folding paramters to 'read-test-results-rows' & 'read-test-results-file'.
    341382; 1.1   : Split out print procedures into own file
    342383; 1.0   : Initial release
Note: See TracChangeset for help on using the changeset viewer.