CLUnit

Function RUN-NAMED-TEST

Syntax:

run-named-test description &optional run-protected => value, error-condition

Arguments and Values:

description---a string

run-protected---a generalized boolean

value---a generalized boolean

error-condition---a condition

Description:

This function runs the test having the specified description. The run-protected flag specifies whether the test is to be run under the error-trapping code used by run-all-tests, etc. If an error occurs when run-protected is nil, normal error processing for the system occurs.

The function returns the return code for the test (nil, if the test fails, and non-nil if it succeeds) and the error condition encountered (if any).

See Also:

deftest

Notes:

Tests are identified by their descriptions. Categorization has no impact on which test is run.

See deftest for the specification of passing and failing tests.


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