public class JUnitTestRunner extends Object implements TestRunner
Constructor and Description |
---|
JUnitTestRunner() |
Modifier and Type | Method and Description |
---|---|
TestResult |
execute(Class<?> testClass,
String methodName)
Run a single test method in a test class.
|
protected List<org.junit.runner.notification.RunListener> |
getRunListeners()
Overwrite to provide additional run listeners.
|
protected List<org.junit.runner.notification.RunListener> getRunListeners()
public TestResult execute(Class<?> testClass, String methodName)
TestRunner
execute
in interface TestRunner
testClass
- The test case class to executemethodName
- The method to executeCopyright © 2017 JBoss by Red Hat. All rights reserved.