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 JUnitCore
return true if the current test is executed with JUnitCore
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.specs2 or name = scalaz
try to approximate if a specification is a specs2 one or scalaz one by passing name = org.specs2 or name = scalaz