Tutorial by Examples

Loading the library (ql:quickload "fiveam") Define a test case (fiveam:test sum-1 (fiveam:is (= 3 (+ 1 2)))) ;; We'll also add a failing test case (fiveam:test sum2 (fiveam:is (= 4 (+ 1 2)))) Run tests (fiveam:run!) which reports Running test suite NIL Running test...
There are a few libraries for unit testing in Common Lisp FiveAM Prove, with a few unique features like extensive test reporters, colored output, report of test duration and asdf integration. Lisp-Unit2, similar to JUnit Fiasco, focusing on providing a good testing experience from the REPL. Su...

Page 1 of 1