CLUnit

Function RUN-CATEGORY

Syntax:

run-category category-name => no-errors, number-failed, number-passed

Arguments and Values:

category---a string

no-errors---a boolean

number-failed---an integer

number-passed---an integer

Description:

This function runs all tests within a given category as specified to deftest. The tests are run within an error handler, allowing the system to keep track of failed tests.

The function returns three values: a boolean, which is true if all tests passed and false otherwise, the number of tests that failed, and the number of tests that passed.

See Also:

deftest, run-all-tests

Notes:

See deftest for the specification of passing and failing tests.


Valid HTML 3.2! Frank A. Adrian
Last modified: 12 June, 2001 13:16