Class SuiteGeneratingRunListener
- java.lang.Object
-
- org.junit.runner.notification.RunListener
-
- at.willhaben.willtest.maven.utils.SuiteGeneratingRunListener
-
public class SuiteGeneratingRunListener extends org.junit.runner.notification.RunListenerGenerates a test suite class into maven target folder, which will contain the test classes in the execution order.
The class will have the FQN "at.willhaben.willtest.generated.Suite""_yyyyMMdd_HHmmss".
The javadoc of the generated class will contain a table where the method order can be also seen.
How to use it? See at the official surefire documentation site.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDATE_FORMAT
-
Constructor Summary
Constructors Constructor Description SuiteGeneratingRunListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestRunFinished(org.junit.runner.Result result)voidtestStarted(org.junit.runner.Description description)
-
-
-
Field Detail
-
DATE_FORMAT
public static final java.lang.String DATE_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
testStarted
public void testStarted(org.junit.runner.Description description) throws java.lang.Exception- Overrides:
testStartedin classorg.junit.runner.notification.RunListener- Throws:
java.lang.Exception
-
testRunFinished
public void testRunFinished(org.junit.runner.Result result) throws java.lang.Exception- Overrides:
testRunFinishedin classorg.junit.runner.notification.RunListener- Throws:
java.lang.Exception
-
-