in M2, surefire seems skipping TestSuite.
when I do default 'mvn compile'. JunitPerf will not run at all!
-------------------------------
My Junit Perf test case:
-------------------------------
public class ExampleTimedTest {
public static final long toleranceInMillis = 100;
public static Test suite() {
long maxElapsedTimeInMillis = 1000 + toleranceInMillis;
Test testCase = new ExampleTestCase("testOneSecondResponse");
Test timedTest = new TimedTest(testCase,
maxElapsedTimeInMillis);
return timedTest;
}
public static void main(String args[]) {
junit.textui.TestRunner.run(suite());
}
}
*the onlye method I currently using is to forcefully extend
ExampleTimedTest from TestCase, so that surefire will run
ExampleTimedTest!
any better solution?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]