1 ;;;-*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*-
4 Copyright
(c) 2004-
2005 Christopher K. Riesbeck
6 Permission is hereby granted
, free of charge
, to any person obtaining
7 a copy of this software and associated documentation files
(the "Software"),
8 to deal in the Software without restriction
, including without limitation
9 the rights to use
, copy
, modify
, merge
, publish
, distribute
, sublicense
,
10 and
/or sell copies of the Software
, and to permit persons to whom the
11 Software is furnished to do so
, subject to the following conditions
:
13 The above copyright notice and this permission notice shall be included
14 in all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED
"AS IS", WITHOUT WARRANTY OF ANY KIND
, EXPRESS
17 OR IMPLIED
, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY
,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM
, DAMAGES OR
20 OTHER LIABILITY
, WHETHER IN AN ACTION OF CONTRACT
, TORT OR OTHERWISE
,
21 ARISING FROM
, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 OTHER DEALINGS IN THE SOFTWARE.
28 1. Read the documentation at
:
29 https
://github.com
/OdonataResearchLLC
/lisp-unit
/wiki
31 2. Make a file of DEFINE-TEST
's. See exercise-tests.lisp for many
32 examples. If you want
, start your test file with
(REMOVE-TESTS :ALL
)
33 to clear any previously defined tests.
37 4.
(use-package :lisp-unit
)
39 5. Load your code file and your file of tests.
41 6. Test your code with
(RUN-TESTS '(test-name1 test-name2 ...
)) or
42 simply
(RUN-TESTS :ALL
) to run all defined tests.
44 A summary of how many tests passed and failed will be printed.
46 NOTE
: Nothing is compiled until RUN-TESTS is expanded. Redefining
47 functions or even macros does not require reloading any tests.
55 (defpackage :lisp-unit
58 (:export
:*print-summary
*
61 ;; Forms for assertions
72 ;; Functions for managing tests
80 ;; Functions for managing tags
85 ;; Functions for reporting test results
93 ;; Functions for extensibility via signals
94 (:export
:signal-results
98 (:export
:logically-equal
:set-equal
))
100 (in-package :lisp-unit
)
104 (defparameter *pass
* 0
105 "The passed assertion results.")
107 (defparameter *fail
* ()
108 "The failed assertion results.")
110 (defun reset-counters ()
111 "Reset the counters to empty lists."
112 (setf *pass
* 0 *fail
* ()))
116 (defparameter *print-summary
* nil
117 "Print a summary of the pass, fail, and error count if non-nil.")
119 (defparameter *print-failures
* nil
120 "Print failure messages if non-NIL.")
122 (defparameter *print-errors
* nil
123 "Print error messages if non-NIL.")
125 (defparameter *use-debugger
* nil
126 "If not NIL, enter the debugger when an error is encountered in an
129 (defparameter *signal-results
* nil
130 "Signal the result if non NIL.")
132 (defun use-debugger-p (condition)
133 "Debug or ignore errors."
135 ((eq :ask
*use-debugger
*)
136 (y-or-n-p "~A -- debug?" condition
))
139 (defun use-debugger (&optional
(flag t
))
140 "Use the debugger when testing, or not."
141 (setq *use-debugger
* flag
))
143 (defun signal-results (&optional
(flag t
))
144 "Signal the results for extensibility."
145 (setq *signal-results
* flag
))
149 (defun print-warning (warning &optional
(stream *error-output
*))
150 "May want to handle the warning with HANDLER-CASE."
151 (format stream
"~&Warning: ~A~&" warning
))
153 ;;; Global unit test database
155 (defparameter *test-db
* (make-hash-table :test
#'eq
)
156 "The unit test database is simply a hash table.")
158 (defun null-tests-warning-report (null-tests-warning stream
)
159 "Write the null-tests-warning to the stream."
160 (format stream
"No tests defined for package ~A."
161 (tests-package-name null-tests-warning
)))
163 (define-condition null-tests-warning
(simple-warning)
167 :reader tests-package-name
))
168 (:report null-tests-warning-report
))
170 (defun package-table (package &optional create
)
172 ((gethash (find-package package
) *test-db
*))
174 (setf (gethash package
*test-db
*) (make-hash-table)))
175 (t (warn 'null-tests-warning
:name
(package-name package
)))))
177 (defmacro with-package-table
((table
178 &optional
(package *package
*) create
)
180 "Execute the body only if the package table exists."
181 (let ((gtable (gensym "TABLE-")))
182 `(let* ((,gtable
(package-table ,package
,create
))
184 (when (hash-table-p ,gtable
) ,@body
))))
186 ;;; Global tags database
188 (defparameter *tag-db
* (make-hash-table :test
#'eq
)
189 "The tag database is simply a hash table.")
191 (defun null-tags-warning-report (null-tags-warning stream
)
192 "Write the null-tags-warning to the stream."
193 (format stream
"No tags defined for package ~A."
194 (tags-package-name null-tags-warning
)))
196 (define-condition null-tags-warning
(simple-warning)
200 :reader tags-package-name
))
201 (:report null-tags-warning-report
))
203 (defun package-tags (package &optional create
)
204 "Return the tags DB for the package."
206 ((gethash (find-package package
) *tag-db
*))
208 (setf (gethash package
*tag-db
*) (make-hash-table)))
209 (t (warn 'null-tags-warning
:name
(package-name package
)))))
211 (defmacro with-package-tags
((table
212 &optional
(package *package
*) create
)
214 "Execute the body only if the package tags exists."
215 (let ((gtable (gensym "TABLE-")))
216 `(let* ((,gtable
(package-tags ,package
,create
))
218 (when (hash-table-p ,gtable
) ,@body
))))
220 ;;; Unit test definition
222 (defclass unit-test
()
231 (:default-initargs
:doc
"" :code
())
233 "Organize the unit test documentation and code."))
235 ;;; NOTE: Shamelessly taken from PG's analyze-body
236 (defun parse-body (body &optional doc tag
)
237 "Separate the components of the body."
238 (let ((item (first body
)))
240 ((and (listp item
) (eq :tag
(first item
)))
241 (parse-body (rest body
) doc
(nconc (rest item
) tag
)))
242 ((and (stringp item
) (not doc
) (rest body
))
244 (values doc tag
(rest body
))
245 (parse-body (rest body
) doc tag
)))
246 (t (values doc tag body
)))))
248 (defun test-name-error-report (test-name-error stream
)
249 "Write the test-name-error to the stream."
250 (format stream
"Test name ~S is not of type ~A."
251 (type-error-datum test-name-error
)
252 (type-error-expected-type test-name-error
)))
254 (define-condition test-name-error
(type-error)
256 (:default-initargs
:expected-type
'symbol
)
257 (:report test-name-error-report
)
259 "The test name error is a type error."))
261 (defun valid-test-name (name)
262 "Signal a type-error if the test name is not a symbol."
265 (error 'test-name-error
:datum name
)))
267 (defmacro define-test
(name &body body
)
268 "Store the test in the test database."
269 (let ((qname (gensym "NAME-")))
270 (multiple-value-bind (doc tag code
) (parse-body body
)
271 `(let* ((,qname
(valid-test-name ',name
))
272 (doc (or ,doc
(string ,qname
))))
275 (gethash ,qname
(package-table *package
* t
))
276 (make-instance 'unit-test
:doc doc
:code
',code
))
278 (loop for tag in
',tag do
280 ,qname
(gethash tag
(package-tags *package
* t
))))
281 ;; Return the name of the test
286 (defun list-tests (&optional
(package *package
*))
287 "Return a list of the tests in package."
288 (with-package-table (table package
)
289 (loop for test-name being each hash-key in table
292 (defun test-documentation (name &optional
(package *package
*))
293 "Return the documentation for the test."
294 (with-package-table (table package
)
295 (let ((unit-test (gethash name table
)))
297 (warn "No test ~A in package ~A."
298 name
(package-name package
))
301 (defun test-code (name &optional
(package *package
*))
302 "Returns the code stored for the test name."
303 (with-package-table (table package
)
304 (let ((unit-test (gethash name table
)))
306 (warn "No test ~A in package ~A."
307 name
(package-name package
))
310 (defun remove-tests (&optional
(names :all
) (package *package
*))
311 "Remove individual tests or entire sets."
316 (remhash (find-package package
) *test-db
*)
317 (remhash (find-package package
) *tag-db
*)))
320 (with-package-table (table package
)
321 (loop for name in names
322 unless
(remhash name table
) do
323 (warn "No test ~A in package ~A to remove."
324 name
(package-name package
))))
325 ;; Remove tests from tags
326 (with-package-tags (tags package
)
327 (loop for tag being each hash-key in tags
328 using
(hash-value tagged-tests
)
332 (set-difference tagged-tests names
)))))))
336 (defun %tests-from-all-tags
(&optional
(package *package
*))
337 "Return all of the tests that have been tagged."
338 (with-package-tags (table package
)
339 (loop for tests being each hash-value in table
340 nconc
(copy-list tests
) into all-tests
341 finally
(return (delete-duplicates all-tests
)))))
343 (defun %tests-from-tags
(tags &optional
(package *package
*))
344 "Return the tests associated with the tags."
345 (with-package-tags (table package
)
346 (loop for tag in tags
347 as tests
= (gethash tag table
)
348 if
(null tests
) do
(warn "No tests tagged with ~S." tag
)
349 else nconc
(copy-list tests
) into all-tests
350 finally
(return (delete-duplicates all-tests
)))))
352 (defun list-tags (&optional
(package *package
*))
353 "Return a list of the tags in package."
354 (with-package-tags (table package
)
355 (loop for tag being each hash-key in table collect tag
)))
357 (defun tagged-tests (&optional
(tags :all
) (package *package
*))
358 "Return a list of the tests associated with the tags."
360 (%tests-from-all-tags package
)
361 (%tests-from-tags tags package
)))
363 (defun remove-tags (&optional
(tags :all
) (package *package
*))
364 "Remove individual tags or entire sets."
368 (remhash (find-package package
) *tag-db
*))
369 (with-package-tags (tags package
)
370 (with-package-table (table package
)
371 (loop for tag in tags
372 unless
(remhash tag table
) do
373 (warn "No tag ~A in package ~A to remove."
374 tag
(package-name package
)))))))
378 (defmacro assert-eq
(expected form
&rest extras
)
379 "Assert whether expected and form are EQ."
380 `(expand-assert :equal
,form
,form
,expected
,extras
:test
#'eq
))
382 (defmacro assert-eql
(expected form
&rest extras
)
383 "Assert whether expected and form are EQL."
384 `(expand-assert :equal
,form
,form
,expected
,extras
:test
#'eql
))
386 (defmacro assert-equal
(expected form
&rest extras
)
387 "Assert whether expected and form are EQUAL."
388 `(expand-assert :equal
,form
,form
,expected
,extras
:test
#'equal
))
390 (defmacro assert-equalp
(expected form
&rest extras
)
391 "Assert whether expected and form are EQUALP."
392 `(expand-assert :equal
,form
,form
,expected
,extras
:test
#'equalp
))
394 (defmacro assert-error
(condition form
&rest extras
)
395 "Assert whether form signals condition."
396 `(expand-assert :error
,form
(expand-error-form ,form
)
399 (defmacro assert-expands
(expansion form
&rest extras
)
400 "Assert whether form expands to expansion."
401 `(expand-assert :macro
,form
402 (expand-macro-form ,form nil
)
403 ',expansion
,extras
))
405 (defmacro assert-false
(form &rest extras
)
406 "Assert whether the form is false."
407 `(expand-assert :result
,form
,form nil
,extras
))
409 (defmacro assert-equality
(test expected form
&rest extras
)
410 "Assert whether expected and form are equal according to test."
411 `(expand-assert :equal
,form
,form
,expected
,extras
:test
,test
))
413 (defmacro assert-prints
(output form
&rest extras
)
414 "Assert whether printing the form generates the output."
415 `(expand-assert :output
,form
(expand-output-form ,form
)
418 (defmacro assert-true
(form &rest extras
)
419 "Assert whether the form is true."
420 `(expand-assert :result
,form
,form t
,extras
))
422 (defmacro expand-assert
(type form body expected extras
&key
(test '#'eql
))
423 "Expand the assertion to the internal format."
424 `(internal-assert ,type
',form
426 (lambda () ,expected
)
427 (expand-extras ,extras
)
430 (defmacro expand-error-form
(form)
431 "Wrap the error assertion in HANDLER-CASE."
433 (condition (error) error
)))
435 (defmacro expand-output-form
(form)
436 "Capture the output of the form in a string."
437 (let ((out (gensym)))
438 `(let* ((,out
(make-string-output-stream))
440 (make-broadcast-stream *standard-output
* ,out
)))
442 (get-output-stream-string ,out
))))
444 (defmacro expand-macro-form
(form env
)
445 "Expand the macro form once."
446 `(let ((*gensym-counter
* 1))
447 (macroexpand-1 ',form
,env
)))
449 (defmacro expand-extras
(extras)
450 "Expand extra forms."
452 (list ,@(mapcan (lambda (form) (list `',form form
)) extras
))))
454 (defgeneric assert-result
(type test expected actual
)
456 "Return the result of the assertion."))
458 (defgeneric record-failure
(type form actual expected extras test
)
460 "Record the details of the failure."))
462 (defclass failure-result
()
483 "Failure details of the assertion."))
485 (defun %record-failure
(class form actual expected extras test
)
486 "Return an instance of the failure result."
494 (defclass equal-result
(failure-result)
497 "Result of a failed equal assertion."))
499 (defmethod assert-result ((type (eql :equal
)) test expected actual
)
500 "Return the result of an equal assertion."
502 (<= (length expected
) (length actual
))
503 (every test expected actual
)))
505 (defmethod record-failure ((type (eql :equal
))
506 form actual expected extras test
)
507 "Return an instance of an equal failure result."
508 (%record-failure
'equal-result form actual expected extras test
))
510 (defclass error-result
(failure-result)
513 "Result of a failed error assertion."))
515 (defmethod assert-result ((type (eql :error
)) test expected actual
)
516 "Return the result of an error assertion."
517 (declare (ignore test
))
519 (eql (car actual
) (car expected
))
520 (typep (car actual
) (car expected
))))
522 (defmethod record-failure ((type (eql :error
))
523 form actual expected extras test
)
524 "Return an instance of an error failure result."
525 (%record-failure
'error-result form actual expected extras test
))
527 (defclass macro-result
(failure-result)
530 "Result of a failed macro expansion assertion."))
532 (defun %expansion-equal
(form1 form2
)
533 "Descend into the forms checking for equality."
534 (let ((item1 (first form1
))
535 (item2 (first form2
)))
537 ((and (null item1
) (null item2
)))
538 ((and (listp item1
) (listp item2
))
540 (%expansion-equal item1 item2
)
541 (%expansion-equal
(rest form1
) (rest form2
))))
542 ((and (symbolp item1
) (symbolp item2
))
544 (string= (symbol-name item1
) (symbol-name item2
))
545 (%expansion-equal
(rest form1
) (rest form2
))))
548 (%expansion-equal
(rest form1
) (rest form2
)))))))
550 (defmethod assert-result ((type (eql :macro
)) test expected actual
)
551 "Return the result of a macro assertion."
552 (declare (ignore test
))
553 (%expansion-equal
(first expected
) (first actual
)))
555 (defmethod record-failure ((type (eql :macro
))
556 form actual expected extras test
)
557 "Return an instance of a macro failure result."
558 (%record-failure
'macro-result form actual expected extras test
))
560 (defclass boolean-result
(failure-result)
563 "Result of a failed boolean assertion."))
565 (defmethod assert-result ((type (eql :result
)) test expected actual
)
566 "Return the result of a result assertion."
567 (declare (ignore test
))
568 (logically-equal (car actual
) (car expected
)))
570 (defmethod record-failure ((type (eql :result
))
571 form actual expected extras test
)
572 "Return an instance of a boolean failure result."
573 (%record-failure
'boolean-result form actual expected extras test
))
575 (defclass output-result
(failure-result)
578 "Result of a failed output assertion."))
580 (defmethod assert-result ((type (eql :output
)) test expected actual
)
581 "Return the result of an output assertion."
582 (declare (ignore test
))
584 (string-trim '(#\newline
#\return
#\space
) (car actual
))
587 (defmethod record-failure ((type (eql :output
))
588 form actual expected extras test
)
589 "Return an instance of an output failure result."
590 (%record-failure
'output-result form actual expected extras test
))
592 (defun internal-assert
593 (type form code-thunk expected-thunk extras test
)
594 "Perform the assertion and record the results."
595 (let* ((actual (multiple-value-list (funcall code-thunk
)))
596 (expected (multiple-value-list (funcall expected-thunk
)))
597 (result (assert-result type test expected actual
)))
602 type form actual expected
603 (when extras
(funcall extras
)) test
)
608 ;;; Unit test results
610 (defclass test-result
()
630 "Test run time measured in internal time units"))
631 (:default-initargs
:exerr nil
)
633 "Store the results of the unit test."))
635 (defun print-summary (test-result &optional
636 (stream *standard-output
*))
637 "Print a summary of the test result."
638 (format stream
"~&~A: ~S assertions passed, ~S failed"
641 (length (fail test-result
)))
642 (if (exerr test-result
)
643 (format stream
", and an execution error.")
644 (write-char #\. stream
))
648 (defun run-code (code)
649 "Run the code to test the assertions."
650 (funcall (coerce `(lambda () ,@code
) 'function
)))
652 (defun run-test-thunk (name code
)
655 (start (get-internal-run-time)))
659 (if (use-debugger-p condition
)
661 (return-from run-test-thunk
667 :run-time
(- (get-internal-run-time) start
)
668 :exerr condition
))))))
670 ;; Return the result count
676 :run-time
(- (get-internal-run-time) start
))))
678 ;;; Test results database
680 (defclass test-results-db
()
683 :initform
(make-hash-table :test
#'eq
)
700 :accessor failed-tests
)
704 :accessor error-tests
)
708 :accessor missing-tests
))
710 "Store the results of the tests for further evaluation."))
712 (defmethod print-object ((object test-results-db
) stream
)
713 "Print the summary counts with the object."
714 (let ((pass (pass object
))
716 (exerr (exerr object
)))
718 stream
"#<~A Total(~D) Passed(~D) Failed(~D) Errors(~D)>~%"
719 (class-name (class-of object
))
720 (+ pass fail
) pass fail exerr
)))
722 (defun test-names (test-results-db)
723 "Return a list of the test names in the database."
724 (loop for name being each hash-key in
(database test-results-db
)
727 (defun record-result (test-name code results
)
728 "Run the test code and record the result."
729 (let ((result (run-test-thunk test-name code
)))
731 (setf (gethash test-name
(database results
)) result
)
732 ;; Count passed tests
733 (when (plusp (pass result
))
734 (incf (pass results
) (pass result
)))
735 ;; Count failed tests and record the name
737 (incf (fail results
) (length (fail result
)))
738 (push test-name
(failed-tests results
)))
739 ;; Count errors and record the name
741 (incf (exerr results
))
742 (push test-name
(error-tests results
)))
744 (when *print-failures
* (print-failures result
))
745 (when *print-errors
* (print-errors result
))
746 (when (or *print-summary
* *print-failures
* *print-errors
*)
747 (print-summary result
))))
749 (defun summarize-results (results &optional
750 (stream *standard-output
*))
751 "Print a summary of all results to the stream."
752 (let ((pass (pass results
))
753 (fail (fail results
)))
754 (format stream
"~&Unit Test Summary~%")
755 (format stream
" | ~D assertions total~%" (+ pass fail
))
756 (format stream
" | ~D passed~%" pass
)
757 (format stream
" | ~D failed~%" fail
)
758 (format stream
" | ~D execution errors~%" (exerr results
))
759 (format stream
" | ~D missing tests~2%"
760 (length (missing-tests results
)))))
764 (define-condition test-run-complete
()
766 :type
'test-results-db
770 "Signaled when a test run is finished."))
772 (defun %run-all-thunks
(&optional
(package *package
*))
773 "Run all of the test thunks in the package."
774 (with-package-table (table package
)
776 with results
= (make-instance 'test-results-db
)
777 for test-name being each hash-key in table
778 using
(hash-value unit-test
)
780 (record-result test-name
(code unit-test
) results
)
782 (push test-name
(missing-tests results
))
783 ;; Summarize and return the test results
785 (when *signal-results
*
786 (signal 'test-run-complete
:results results
))
787 (summarize-results results
)
790 (defun %run-thunks
(test-names &optional
(package *package
*))
791 "Run the list of test thunks in the package."
792 (with-package-table (table package
)
794 with results
= (make-instance 'test-results-db
)
795 for test-name in test-names
796 as unit-test
= (gethash test-name table
)
798 (record-result test-name
(code unit-test
) results
)
800 (push test-name
(missing-tests results
))
802 (when *signal-results
*
803 (signal 'test-run-complete
:results results
))
804 (summarize-results results
)
807 (defun run-tests (&optional
(test-names :all
) (package *package
*))
808 "Run the specified tests in package."
810 (if (eq :all test-names
)
811 (%run-all-thunks package
)
812 (%run-thunks test-names package
)))
814 (defun run-tags (&optional
(tags :all
) (package *package
*))
815 "Run the tests associated with the specified tags in package."
817 (%run-thunks
(tagged-tests tags package
) package
))
821 (defgeneric print-failures
(result &optional stream
)
823 "Report the results of the failed assertion."))
825 (defmethod print-failures :around
((result failure-result
) &optional
826 (stream *standard-output
*))
827 "Failure header and footer output."
828 (format stream
"~& | Failed Form: ~S" (form result
))
830 (when (extras result
)
831 (format stream
"~{~& | ~S => ~S~}~%" (extras result
)))
832 (format stream
"~& |~%"))
834 (defmethod print-failures ((result failure-result
) &optional
835 (stream *standard-output
*))
836 (format stream
"~& | Expected ~{~S~^; ~} " (expected result
))
837 (format stream
"~<~% | ~:;but saw ~{~S~^; ~}~>" (actual result
)))
839 (defmethod print-failures ((result error-result
) &optional
840 (stream *standard-output
*))
841 (format stream
"~& | ~@[Should have signalled ~{~S~^; ~} but saw~]"
843 (format stream
" ~{~S~^; ~}" (actual result
)))
845 (defmethod print-failures ((result macro-result
) &optional
846 (stream *standard-output
*))
847 (format stream
"~& | Should have expanded to ~{~S~^; ~} "
849 (format stream
"~<~%~:;but saw ~{~S~^; ~}~>" (actual result
)))
851 (defmethod print-failures ((result output-result
) &optional
852 (stream *standard-output
*))
853 (format stream
"~& | Should have printed ~{~S~^; ~} "
855 (format stream
"~<~%~:;but saw ~{~S~^; ~}~>"
858 (defmethod print-failures ((result test-result
) &optional
859 (stream *standard-output
*))
860 "Print the failed assertions in the unit test."
861 (loop for fail in
(fail result
) do
862 (print-failures fail stream
)))
864 (defmethod print-failures ((results test-results-db
) &optional
865 (stream *standard-output
*))
866 "Print all of the failure tests."
867 (loop with db
= (database results
)
868 for test in
(failed-tests results
)
869 as result
= (gethash test db
)
871 (print-failures result stream
)
872 (print-summary result stream
)))
876 (defgeneric print-errors
(result &optional stream
)
878 "Print the error condition."))
880 (defmethod print-errors ((result test-result
) &optional
881 (stream *standard-output
*))
882 "Print the error condition."
883 (let ((exerr (exerr result
))
884 (*print-escape
* nil
))
886 (format stream
"~& | Execution error:~% | ~W" exerr
)
887 (format stream
"~& |~%"))))
889 (defmethod print-errors ((results test-results-db
) &optional
890 (stream *standard-output
*))
891 "Print all of the error tests."
892 (loop with db
= (database results
)
893 for test in
(error-tests results
)
894 as result
= (gethash test db
)
896 (print-errors result stream
)
897 (print-summary result stream
)))
899 ;;; Useful equality predicates for tests
901 (defun logically-equal (x y
)
902 "Return true if x and y are both false or both true."
903 (eql (not x
) (not y
)))
905 (defun set-equal (list1 list2
&rest initargs
&key key
(test #'equal
))
906 "Return true if every element of list1 is an element of list2 and
908 (declare (ignore key test
))
912 (apply #'subsetp list1 list2 initargs
)
913 (apply #'subsetp list2 list1 initargs
)))
915 (pushnew :lisp-unit common-lisp
:*features
*)