public final class ScalaTestUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static org.junit.runner.Runner |
getJUnitRunner(java.lang.Class<?> clazz)
Returns a scalatest junit runner using reflection in the classloader of the test.
|
static boolean |
isScalaTestTest(java.lang.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(java.lang.Class<?> clazz)
clazz - the test classpublic static boolean isScalaTestTest(java.lang.Class<?> clazz)
clazz - the test class