Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions lisp-unit.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
:test-documentation
:remove-tests
:run-tests
:run-1-test
:use-debugger)
;; Functions for managing tags
(:export :list-tags
Expand Down Expand Up @@ -945,6 +946,15 @@ If MERGE is NIL, then an error is signalled when a conflict occurs."
(summarize-results results))
(return results))))

;; fix for issue #47
(defun run-1-test (test-name)
"Run the test designated by the given TEST-NAME"
(let ((*print-summary* t)
(*print-failures* t)
(*summarize-results* t)
(*print-errors* t))
(run-tests (list test-name) (symbol-package test-name))))

(defun run-tests (&optional (test-names :all) (package *package*))
"Run the specified tests in package."
(reset-counters)
Expand Down