public class HybrisTestRunner
extends RunListener
| Constructor and Description |
|---|
HybrisTestRunner() |
HybrisTestRunner(JUnitCore junitCore) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCreation() |
void |
beforeDestroy() |
HybrisTestsResult |
runTest(Class... testClassNames) |
HybrisTestsResult |
runTest(Class testClassName,
String testName) |
HybrisTestsResult |
runTests(Class testClassName,
String... testNames) |
void |
testAssumptionFailure(Failure failure) |
void |
testFailure(Failure failure) |
void |
testFinished(Description description) |
void |
testIgnored(Description description) |
void |
testRunFinished(Result result) |
void |
testRunStarted(Description description) |
void |
testStarted(Description description) |
public HybrisTestRunner()
public HybrisTestRunner(JUnitCore junitCore)
public HybrisTestsResult runTest(Class... testClassNames) throws IllegalArgumentException
testClassNames - vararg of test classes to be runHybrisTestsResultIllegalArgumentException - when null class givenpublic HybrisTestsResult runTest(Class testClassName, String testName) throws IllegalArgumentException
testClassName - test class to be runtestName - test case to runHybrisTestsResultIllegalArgumentException - when null class given or blank test name. Be aware that incorrect(not existing)
testName will be reported as test case failure.public HybrisTestsResult runTests(Class testClassName, String... testNames)
public void testAssumptionFailure(Failure failure)
public void testRunStarted(Description description)
throws Exception
Exception@PostConstruct public void afterCreation()
@PreDestroy public void beforeDestroy()
Copyright © 2017 SAP SE. All Rights Reserved.