[plt-scheme] More SchemeUnit confusion
On Sun, Jun 7, 2009 at 2:11 PM, Todd O'Bryan<toddobryan at gmail.com> wrote:
> What's the SchemeUnit equivalent of JUnit setUp and tearDown?
before/after/around. You can also build an abstraction on top of
test-case with a simple define-syntax:
(define-syntax super-test-case
(syntax-rules ()
[(_ expr ...) (test-case (around my-begin expr ... my-around))]))
There was a discussion about this a little while ago, and I though the
situation should be improved. The multiple context of SchemeUnit make
this a little trickier than you might think; I decided a parameter
current-around (or similar) would be best but never got around to
implementing it.
N.