From: Noel W. <noe...@ya...> - 2004-11-17 21:33:18
|
Hi all, The latest version of SchemeUnit contains setup and teardown actions for test cases and test suites specified by keyword arguments. E.g.: (make-test-case "name" (assert = 2 (+ 1 1)) setup (display "setup") teardown (display "teardown")) make-test-suite works the same way, except the keywords setup and teardown must be quoted (as make-test-suite is a function, not a macro). I'm not entirely happy with this mechanism and some more work is required (e.g. what happens if a test suite setup or teardown action fails?) so if you have suggestions please send them to me. This is the last task other than documentation for SchemeUnit 2.0. So it should be released soon -- just in time to redevelop it for v300! Noel ===== Email: noelwelsh <at> yahoo <dot> com AIM: noelhwelsh __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com |