I need to run a couple of methods at the start and end of a series of Cactus tests.
I've looked at the TestSetup class which is used for something similar in JUnit but, AFAIK, you have to subclass TestSetup in order to use it and my Cactus test is already extending servletTestCase.
Does anyone know how I can do the same in Cactus? The only thing I can think of is having direct calls to a start method from my first test and a close method at the end of my last test but this means that my tests always need to be run in the same sequence and I can't create suites without moving these calls about.
cheers
Brian