is adding test classes in mass possible?
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <216A27B7659FEE4695250006FF1BE139D8A54C@tshuscodenmbx02.ERF.THOMSON.COM> |
I have been give around 160 separate httpunit test files, instead of
listing them one line at a time.
Is there a way I can grab them from the package directory and do a mass
add of the test cases?
I create a main "driver" test suite as follows, and this is were I was
hoping to be able to some kind of mass add of the 160 test case files.
public class TestLabSuite
{
public static void main( String[] args )
{
junit.textui.TestRunner.run( suite() );
}
public static TestSuite suite()
{
TestSuite result = new TestSuite();
// Labs
//result.addTest(LabAdvisorKeywordSearchTest.suite() );
result.addTest(LabAdvisorTopicSearchTest.suite() );
// Added by HCL
result.addTest(LabDatabaseSearchExtendedTest.suite() );
result.addTest(LabDatabaseSearchTest.suite() );
result.addTest(LabDatabaseSearchThirdTest.suite() );
return result;
}
}
Thanks for any guidance you can provide
Jeff