Create Description objects from the specification fragments and arrange them as a tree
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait ExecutionOrigintrait Stacktracesclass Objecttrait Matchableclass Any
- Known subtypes
-
object JUnitDescriptions.type
Members list
Value members
Concrete methods
Map of each fragment to its description
Map of each fragment to its description
Attributes
filter out the fragments which don't need to be represented in the JUnit descriptions
filter out the fragments which don't need to be represented in the JUnit descriptions
Attributes
Attributes
- Returns
-
a seq containing the path of an example without the root name
description for the beginning of the specification
description for the beginning of the specification
Attributes
Attributes
- Returns
-
a test name with no newlines
Inherited methods
Attributes
- Inherited from:
- ExecutionOrigin
Attributes
- Inherited from:
- Stacktraces
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.
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.
Attributes
- Returns
-
true if this current piece of code contains name in its stacktrace.
- Inherited from:
- Stacktraces
Attributes
- Returns
-
true if there is a stacktrace element satisfying the predicate
- Inherited from:
- Stacktraces
Attributes
- Returns
-
true if there is a stacktrace element satisfying the predicate
- Inherited from:
- Stacktraces
try to approximate if a specification is a specs2 by passing name = org.specs2
try to approximate if a specification is a specs2 by passing name = org.specs2
Attributes
- Inherited from:
- ExecutionOrigin
Inherited fields
Attributes
- Inherited from:
- ExecutionOrigin
return true if the current test is executed from an IDE
return true if the current test is executed from an IDE
Attributes
- Inherited from:
- ExecutionOrigin
return true if the current test is executed with Bazel
return true if the current test is executed with Bazel
Attributes
- Inherited from:
- ExecutionOrigin
return true if the current test is executed with eclipse
return true if the current test is executed with eclipse
Attributes
- Inherited from:
- ExecutionOrigin
return true if the current test is executed with Gradle
return true if the current test is executed with Gradle
Attributes
- Inherited from:
- ExecutionOrigin
return true if the current test is executed with Intellij
return true if the current test is executed with Intellij
Attributes
- Inherited from:
- ExecutionOrigin
return true if the current test is executed with JUnitCore
return true if the current test is executed with JUnitCore
Attributes
- Inherited from:
- ExecutionOrigin
return true if the current test is executed with Maven
return true if the current test is executed with Maven
Attributes
- Inherited from:
- ExecutionOrigin
return true if the current test is executed with sbt
return true if the current test is executed with sbt
Attributes
- Inherited from:
- ExecutionOrigin
return true if the current test is executed with Scala.js
return true if the current test is executed with Scala.js
Attributes
- Inherited from:
- ExecutionOrigin