[Test::Unit] how to teardown at end of TestCase

Is there a way to get some code to run after all the tests defined in a
TestCase have finished? What I need to do doesn’t make sense in each
#teardown method. It should only be done once for all tests. In other
words, this should be like a destructor for the TestCase instance. It
seems like it would be an easy hook to provide…

It’s on my (too long) to-do list… :-/

Nathaniel

<:((><

···

On Dec 17, 2003, at 18:12, Joel VanderWerf wrote:

Is there a way to get some code to run after all the tests defined in
a TestCase have finished? What I need to do doesn’t make sense in each
#teardown method. It should only be done once for all tests. In other
words, this should be like a destructor for the TestCase instance. It
seems like it would be an easy hook to provide…

Nathaniel Talbott wrote:

···

On Dec 17, 2003, at 18:12, Joel VanderWerf wrote:

Is there a way to get some code to run after all the tests defined in
a TestCase have finished? What I need to do doesn’t make sense in each
#teardown method. It should only be done once for all tests. In other
words, this should be like a destructor for the TestCase instance. It
seems like it would be an easy hook to provide…

It’s on my (too long) to-do list… :-/

That’s life… No problem, for now I’ll stick with “def test_zzz”.