On 26/02/07, Michael Schuerig <michael / schuerig.de> wrote: > > For a performance test I need to populate the database with a large > number of records. The individual test cases only read the database > contents. It is rather time consuming and, after all, unnecessary to do > a full setup and teardown for each test case. I'd much prefer a clean > way to do setup and teardown once for the entire TestCase subclass. > AFAIR, in JUnit, there is a decorator for just this purpose. Is there > something similar for Test::Unit? > > Michael > > -- > Michael Schuerig > mailto:michael / schuerig.de > http://www.schuerig.de/michael/ > > You should be able to put the data you need initialised only once in the initialize method. I think. Farrel