Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#7 Improve JUnit automated test suite scanning.

open
nobody
None
5
2007-07-31
2007-07-31
Rupert Smith
No

Improve the test suite scanning so that asymptotic test cases are found. The default JUnit scan fails to find these test methods. The current workaround is to manually define the test suite in the static suite() method in the test case.

The call to do the suite scan is in the class:

TestRunnerImprovedErrorHandling

in the method:

protected TestResult start(String[] args) throws Exception

at:

Test suite = getTest(testCase);

Discussion