X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=t%2Ftests.lisp;h=8eadcc2360af502fd0a24d6e3af3a5e5e0f77fc3;hb=7df749a8a0381171ab005a3f284385ce39757277;hp=47a92fcede08751d482f6371d65296309061a43b;hpb=168a8cb290c6d9b3fa40e500fd044ecacebb5429;p=fiveam.git diff --git a/t/tests.lisp b/t/tests.lisp index 47a92fc..8eadcc2 100644 --- a/t/tests.lisp +++ b/t/tests.lisp @@ -4,9 +4,7 @@ (in-suite :it.bese.FiveAM) -(def-suite test-suite - :description "Suite for tests which should fail." - :default-test-args '(:fixture null-fixture :compile-at :run-time)) +(def-suite test-suite :description "Suite for tests which should fail.") (defmacro with-test-results ((results test-name) &body body) `(let ((,results (with-*test-dribble* nil (run ',test-name)))) @@ -25,7 +23,7 @@ (is-true t) (is-false nil)) -(test (is2 :suite test-suite :fixture foo) +(test (is2 :suite test-suite :fixture null-fixture) (is (plusp 0)) (is (< 0 -1)) (is (not (plusp 1))) @@ -33,7 +31,7 @@ (is-true nil) (is-false t)) -(test is +(test (is :profile t) (with-test-results (results is1) (is (= 6 (length results))) (is (every #'test-passed-p results)))