Closed phoe closed 1 year ago
A fix is to (is = 4 (...)
instead of (is = (...) 4)
- ensure the order of arguments.
You can bind *silence-plain-compilation-errors-p*
to NIL to trip the debugger when errors occur, and the system will now provide a more useful description of the failure if you don't.
Adding my two cents to the recent discussion about unexpected errors in tests.
Let's assume this following Lisp code that uses Parachute:
If someone can spot the typo in the
DEFMETHOD
then they can infer that this test is going to fail:The summary is particularly confusing:
The summary reads as if nothing has gone wrong in the test. This might be an issue if someone wants to skip the whole test output and look at the summary.
I suggest adding the following lines at the end if any of the tests have failed due to unexpected errors:
So in result, we get the following output that should ultimately be clear: