[Madeleine-devel] test/unit's automatic test suites
Status: Beta
Brought to you by:
ndrs
From: Anders B. <ndr...@ya...> - 2004-09-10 22:21:39
|
Hi, I realized that our way of manually specifying our test suite was completely unnecessary, since test/unit creates one automagically if you just define subclasses of Test::Unit::TestCase. In the TEST_CLEANUP branch there is now an attempt at this. Some notes: 1) Since test/unit complained about the abstract class AutoTest not having any test_* methods I had to convert it to a module. 2) To avoid always running the "slow" tests from test_automatic.rb I moved them into their own file, test_automatic_slow.rb. 3) Things shared between test_automatic.rb and test_automatic_slow.rb is now in a third file, called test_automatic_shared.rb. Stephen, any thoughts? /Anders |