[Htmlparser-developer] Making test cases easier to run.
Brought to you by:
derrickoswald
From: <dha...@or...> - 2002-12-18 06:55:37
|
Hi everyone, I had one more suggestions for the test cases. It would be nice to have a main method in every test case class, so that the class could be tested individually instead of runnign it as a suite alongwith other classes. Something as simple as adding (the example is for HTMLTag class) public static void main(String[] args) { new junit.awtui.TestRunner().start(new String[] {HTMLTag.class.getName()}); } to every test case class so that it can be tested independently outside the suite as well. I think this would be of great help to testing individual classes. Regards, Dhaval Udani Senior Analyst M-Line, QPEG OrbiTech Solutions Ltd. +91-22-28290019 Extn. 1457 |