public final class ScalaTestUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.junit.runner.Runner |
getJUnitRunner(Class<?> clazz)
Returns a scalatest junit runner using reflection in the classloader of the test.
|
static boolean |
isScalaTestTest(Class<?> clazz)
Checks if the passed in test clazz has an ancestor that is the scala test suite
object (looked up in the test classes class loader).
|
public static org.junit.runner.Runner getJUnitRunner(Class<?> clazz)
clazz - the test classpublic static boolean isScalaTestTest(Class<?> clazz)
clazz - the test class