Next: , Previous: , Up: Reference manual   [Contents][Index]


7.5 Package FL.TESTS

This package provides routines for building a simple regression test suite. Most files in FEMLISP contain a test function at the end which checks several critical features which the file or module provides. By calling the function adjoin-test at load time, this function is added to a list of functions to be checked. After loading FEMLISP, all functions in this list can be executed one after the other by calling the function test-femlisp. Errors and exceptions are registered and finally reported. It is very much recommended to run this test suite before a release.

Function: ADJOIN-TEST FSYM

Adjoins a test to the Femlisp test suite.

Function: REMOVE-TEST FSYM

Adjoins a test to the Femlisp test suite.

Macro: SMALL-TEST FSYM &BODY BODY

At the moment small tests are ignored. One might think of collecting them when compiling a certain file.

Function: TEST-FEMLISP &KEY CONTINUE PACKAGE (LOGFILE (FEMLISP-PATHNAME "fltest.log")) (DEMO T)

Runs the Femlisp test suite. The result is printed to *standard-output*.