with-tests

Macro

Package: util.test

Arguments: &key (name " unnamed ") &body body

The body should be a list of test forms. At the end of execution of the body, a report is generated which summarizes successes and failures.

with-tests binds *test-successes*, *test-errors*, and *test-unexpected-failures* to 0 before the execution of body and the printing of the results.

name is printed with the results -- "Begin test", so "Begin unnamed test" if unspecified.

See test-harness.htm for information on the Allegro CL test harness.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.