From: Egon W. <el...@ca...> - 2003-02-27 16:31:51
|
On Thursday 27 February 2003 3:10 pm, Christoph Steinbeck wrote: > For testing reasons, most of my JUnit tests have a main() method which > sets a boolean standAlone=true; which is checked in the test methods. > If the class is executed as an application and not by the JUnit library, > it may well provide some testing output. > > Is this a problem? No, I don't think that's a problem. > I don't want to duplicate the code of the test classes just to get some > classes which produce graphical debug output. > Of course, there might well be some tests where the graphical output > *itself* is tested. These should go into a special suite. That's what I intend to have the cdk.test.GraphicalCDKTests.java for... Egon |