a Description with parent-child relationships to other Description objects from a Tree[Description]
a sanitized description
fragment that must be used as the root description if the specification is empty
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 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
true if there is a stacktrace element satisfying the predicate
true if there is a stacktrace element satisfying the predicate
try to approximate if a specification is a specs2 one or scalaz one by passing name = org.
try to approximate if a specification is a specs2 one or scalaz one by passing name = org.specs2 or name = scalaz
This function is used to map each node in a Tree[Fragment] to a pair of (Description, Fragment)
This function is used to map each node in a Tree[Fragment] to a pair of (Description, Fragment)
The Int argument is the numeric label of the current TreeNode being mapped. It is used to create a unique description of the example to executed which is required by JUnit
a seq containing the path of an example without the root name
a test name with no newlines
Descriptions for a seq of Fragments to execute