A high-level guide to the world of Common Lisp testing frameworks and tools.
Here is a list of tools mentioned on the CLiki.
| Library | License | SUnit Based? | ASDF Installable? | Maintained | Last Updated | Review | Notes |
|---|---|---|---|---|---|---|---|
| JUnit style | |||||||
| CLUnit (CLiki) | LGPL | Y | N | N? | 2002-11-27 | ||
| FiveAM (CLiki) | BSD | N? | Y | Y | 2004-11-15 | Simple to use. Brief syntax. Reference documentation is complete but could use a tutorial. Can override the debugger, but will not report this as a failed test. --Stuart Sierra | |
| FReT (CLiki) | BSD | Y | N | N | 2004-07-09 | Inspired by LIFT | |
| LIFT (CLiki) | MIT | Y | Y | Y | 2005-12-17 | ||
| LispUnit (CLiki) | MIT | Y | N | Y | 2006-04-07 | Simple to use (just load one file). Thorough documentation. Tests return values, macro expansion, printed output, and errors. Supports test-first development. Supports redefining functions and macros without reloading tests. No setup/teardown facilities. Portable. --Stuart Sierra (Easy enough to write your own two line .asd file if you want to use asdf --Michael Price) | |
| unit-test (CLiki) | ? | Y | Y | ? | 2004-06-23 | ||
| xlunit (CLiki) | Y | Y | ? | 2003-09-07 | Based on JUnit, XPTest, and clos-unit. | ||
| RT / tester style | |||||||
| ptester (CLiki) | LGPL | N? | Y | Y | 2003-09-07 | "portable version of Franz's tester" | |
| rt (CLiki) | MIT? | N | Y | Y | 2003-09-07 | An old standard? See also COVER test coverage tool | |
| tester (CLiki) | LLGPL | N | N | Y | 2002-09-17 | See ptester too | |
| Other style or style unknown | |||||||
| clickcheck (CLiki) | MIT | N? | ? (has ASDF files...) | Y? | 2005-09-13 | "Automated random specification testing" [...] "within its own testing framework, because the existing Lisp testing libraries weren't quite to my taste." | |
| EnclineTest (CLiki) | BSD | ? | N | ? | 2004-03-31 | ||
| MSL-Test (CLiki) | MIT | N? | N | ? | 2003-11-05 | ||
| Library | License | SUnit Based? | ASDF Installable? | Maintained | Last Package Update | Last Review | Notes |
|---|---|---|---|---|---|---|---|
| clos-unit (CLiki) | "Retain copyright notice" | Y | N | N | 2003-06-17 | Possibly deprecated in favor of xlunit (but who said this originally?) On Feb 1 2005, "bsder@allcaps.org", aka Andrew P. Lentvorski, Jr., did; check the CLiki recent changes page (page 83, as of 1/18/06). xlunit does say it's based on JUnit, XPTest, and clos-unit, and it seems a bit more complete, polished, and recent. I tend to agree with Andrew. -- Larry Clapp | |
| XPTest (CLiki) | DFSG | Y | N | N | Download link is dead. Probably deprecated in favor of xlunit. |
Complete non-hierarchical testing
Find something where hierarchical testing makes sense (cl-containers?)
Find something where random testing makes sense
Create list of the union of all the features we like and describe each tools support of these features
Investigate other languages tools (JUnit, etc.)