arguments for the specification
arguments for the specification
the console exporter can be used to display results in the console
the console exporter can be used to display results in the console
a Description for the TestSuite
the html exporter can be used to output html files
the html exporter can be used to output html files
This method is used to determine for example if the JUnit runner is executed from Maven or within Eclipse.
This method is used to determine for example if the JUnit runner is executed from Maven or within Eclipse. In the first the test case names don't need to have the hashcode example.
true if the this current piece of code contains name in its stacktrace.
return true if the current test is executed from an IDE
return true if the current test is executed from an IDE
return true if the current test is executed with eclipse
return true if the current test is executed with eclipse
return true if the current test is executed with Gradle
return true if the current test is executed with Gradle
return true if the current test is executed with Intellij
return true if the current test is executed with Intellij
return true if the current test is executed with Maven
return true if the current test is executed with Maven
return true if the current test is executed with sbt
return true if the current test is executed with sbt
system properties
system properties
run the suite by executing each fragment related to a description: - execute all fragments (including Steps which are reported as steps) - for each result, report the failure/error/skipped or pending message as a junit failure or ignored event on the RunNotifier
run the suite by executing each fragment related to a description: - execute all fragments (including Steps which are reported as steps) - for each result, report the failure/error/skipped or pending message as a junit failure or ignored event on the RunNotifier
specification to execute
specification to execute
The JUnitRunner class is a junit Runner class meant to be used with the RunWith annotation to execute a specification as a JUnit suite.
The implementation is using a description Fold to fold the fragments into a tree of Description objects and a Map relating each Description to a Fragment to execute.