-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Howdy and much thanks for the longtime work on this project! This is not really an issue with lisp-unit, but I wanted to notify you in a public way about this work. Feel free to close :)
We (at AccelerationNet) have been using lisp-unit for many years and while it met our needs, we have consistently had small recurring issues, but nothing substantive enough to tackle. We have posted some patches (such as TAP support) in the past.
Recently, after I was getting compiler errors from a unit test, that I couldn't track down, I endeavored to fix many of my troubles with lisp unit as a new derivative library, lisp-unit2. (My compiler error ended up being unrelated to lisp-unit other than LU not helping me find the trouble at all.)
Other things I have changed:
- Debugger support is driven by debugger-hook
- Compile tests immediately upon definition so that compile warnings etc are easily seen at definition time
- with-summary context for printing error messages while the tests run, print-summary for printing the test-result-database
- It was sometimes ambiguous where an error was coming from because the name of the failing test was below the message.
- Tests now have source locations and so the name of the test can be used to go to the defintion
- TAP output didnt contain useful error messages and now does
- Testing signals is well supported now
- Added a restart when a single test fails to continue running the rest of the suite
These and many other notes are in the readme
I wanted to point out this work, hoping to elicit some feedback, and so that if you saw anything useful, you might backport it to lisp-unit.
I did this as a new project because I wanted to easily load both libraries (I have many projects to convert slowly).
Thanks again for all your efforts and Cheers,
Russ Tyndall, acceleration.net