X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Ftest.lisp;h=c64d6a249240ab10ddb7ada9d5660438fa592c48;hb=fe6ac366b562a6605a491b8fc495347d880510b3;hp=f9377cfb976f5946373e6bf2ca68c8bf29d625a1;hpb=ebf1d93971db80410bb860338eb6f79b9de68b23;p=fiveam.git diff --git a/src/test.lisp b/src/test.lisp index f9377cf..c64d6a2 100644 --- a/src/test.lisp +++ b/src/test.lisp @@ -11,6 +11,9 @@ ;;;; collection of checks which can be run and a test suite is a named ;;;; collection of tests and test suites. +(defvar *suite* nil + "The current test suite object") + (defvar *test* (make-hash-table :test 'eql) "Lookup table mapping test (and test suite) @@ -57,8 +60,6 @@ depending on another. FIXTURE specifies a fixture to wrap the body in. If PROFILE is T profiling information will be collected as well." - (simple-style-warning "~A is OBSOLETE! Use ~A instead." - 'test 'def-test) (destructuring-bind (name &rest args) (ensure-list name) `(def-test ,name (,@args) ,@body)))