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.
|
static boolean |
isScalaTestTest(java.lang.Class<?> clazz)
Checks if the passed in test clazz has an ancestor that is the scalatest suite
trait.
|
public static org.junit.runner.Runner getJUnitRunner(java.lang.Class<?> clazz)
throws java.lang.Exception
clazz - the test classjava.lang.Exceptionpublic static boolean isScalaTestTest(java.lang.Class<?> clazz)
clazz - the test class