This new variable causes tests to be (using run!) as soon as they are
defined. Test suites must still be run explicitly. Idea blatenly
stolen from LIFT.
',name)
`(setf (gethash ',name (tests (or *suite* (get-test 'NIL))))
',name))
+ (when *run-when-defined*
+ (run! ',name))
',name))))
+(defvar *run-test-when-defined* nil
+ "When non-NIL tests are run as soon as they are defined.")
+
;; Copyright (c) 2002-2003, Edward Marco Baringer
;; All rights reserved.
;;