Skip to content

Commit

Permalink
Avoid code-walking in DEFINE-TESTCASE
Browse files Browse the repository at this point in the history
Rewrite the DEFINE-TESTCASE macro so that it does not rely on code
walking.  This approach is lengthy, brittle and hard to expand. It
furthermore has some unexpected inconvenience.

The DEFINE-TESTCASE macro is rewritten so that it only instruments
assertions using signal and handlers.
  • Loading branch information
foretspaisibles committed Apr 11, 2024
1 parent 50350d7 commit e2ec886
Show file tree
Hide file tree
Showing 7 changed files with 577 additions and 469 deletions.
21 changes: 16 additions & 5 deletions src/package.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,26 @@
(:export
#:quit
;; Results
#:assertion-success
#:assertion-failure
#:assertion-condition
#:testcase-result
#:record-result
#:testcase-outcome
#:testcase-path
#:testcase-name
#:testcase-total
#:testcase-success
#:testcase-failure
#:testcase-condition
;; Testcases
#:assertion-path
#:assertion-name
#:assertion-argument-names
#:assertion-argument-values
#:assertion-form
#:assertion-type
#:assertion-description
#:assertion-condition
#:define-testcase
#:without-confidence
#:*testcase-interactive-p*
#:*testcase-describe-failed-assertions*
#:*testsuite-name*
#:*testsuite-id*
#:*testsuite-last-result*
Expand Down
Loading

0 comments on commit e2ec886

Please sign in to comment.