The latest version of SchemeUnit contains setup and
teardown actions for test cases and test suites specified
by keyword arguments.
(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!
Email: noelwelsh <at> yahoo <dot> com
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!