All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project DOES NOT adhere to Semantic Versioning.
0.4.0 - 2024-03-15
- issue#7 All test functions accepts a
:test
keyword to supply another testing functions thancl:equalp
. This allows passing e.g.generic-cl:equalp
to test classes.
- issue#6 Extracting docstrings now works for functions without docstrings and with
(declare)
form.
0.3.1 - 2024-03-11
test-package
return failed/passed, not justnil
0.3.0 - 2024-03-11
- Support Embedded Common Lisp (ECL)
- Support Clozure Common Lisp (CCL)
- Support Armed Bear Common Lisp (ABCL)
test-docstring
for testing strings – simplifies testingtest-variable
for testing variables
- Don’t require an exact error, but rather a subclass of the expected error,
e.g. expecting
type-error
will allow a subclass likesimple-type-error
. - The general
test
is exported test
runstest-package
forpackage
test
supportsnull
test
supportsstring
test
for symbol will test both variable and function/macro bound to that symbol- Number of failed/passed tests is always returned, also when there are no
doctests for a thing, rather than
nil
test-package
only includes symbols for the package under testtest-package
works for macros
0.2.0 - 2024-03-01
test-package
function to test all functions in a package
- Tweaked to evaluate expected results to avoid problems with
fset
and readtables;#{||}
cannot be used, and(fset:empty-map)
neither - Improved working with multiple values
- Print only when tests are failing (useful when testing entire packages)
run-doctests
doesn’t throw on empty docstring (triggered eof error)