lisp-unit
lisp-unit is a Common Lisp library that supports unit testing. It is an extension of the library written by Chris Riesbeck . There is a long history of testing packages in Lisp, usually called "regression" testers. More recent packages in Lisp and other languages have been inspired by JUnit for Java. For more information on both unit testing and JUnit, visit www.junit.org.
Overview
The main goal for lisp-unit was to make it simple to use. The advantages of lisp-unit are:
- Written in portable Common Lisp.
- Loadable with ASDF.
- Dead-simple to define and run tests.
- Supports redefining functions and even macros without reloading tests.
- Supports test-first programming.
- Supports testing return values, printed output, macro expansions, and error conditions.
- Produces short readable output with a reasonable level of detail.
- Groups tests by package for modularity.
Distribution
lisp-unit is currently available using GIT at http://repo.or.cz/w/lisp-unit.git. Get the repository using `git clone git://repo.or.cz/lisp-unit.git`. Once the interface to the floating point predicates settles down, a release will be made.
In Progress
There is also a modification of the lisp-unit that supports fixtures, Dog-fooding a Domain Specific Language (DSL); creating an extension to Lisp-Unit and
Update to test-fixture. These modifications are currently being incorporated into the repository.
CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively