public class HybrisTestRunner
extends RunListener
| Constructor and Description |
|---|
HybrisTestRunner() |
HybrisTestRunner(JUnitCore junitCore) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCreation() |
void |
beforeDestroy() |
HybrisTestsResult |
runTest(java.lang.Class... testClassNames) |
HybrisTestsResult |
runTest(java.lang.Class testClassName,
java.lang.String testName) |
HybrisTestsResult |
runTests(java.lang.Class testClassName,
java.lang.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(java.lang.Class... testClassNames) throws java.lang.IllegalArgumentException
testClassNames - vararg of test classes to be runHybrisTestsResultjava.lang.IllegalArgumentException - when null class givenpublic HybrisTestsResult runTest(java.lang.Class testClassName, java.lang.String testName) throws java.lang.IllegalArgumentException
testClassName - test class to be runtestName - test case to runHybrisTestsResultjava.lang.IllegalArgumentException - 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(java.lang.Class testClassName, java.lang.String... testNames)
public void testAssumptionFailure(Failure failure)
public void testFailure(Failure failure)
throws java.lang.Exception
java.lang.Exceptionpublic void testFinished(Description description)
throws java.lang.Exception
java.lang.Exceptionpublic void testIgnored(Description description)
throws java.lang.Exception
java.lang.Exceptionpublic void testRunFinished(Result result)
throws java.lang.Exception
java.lang.Exceptionpublic void testRunStarted(Description description)
throws java.lang.Exception
java.lang.Exceptionpublic void testStarted(Description description)
throws java.lang.Exception
java.lang.Exception@PostConstruct public void afterCreation()
@PreDestroy public void beforeDestroy()
Copyright © 2018 SAP SE. All Rights Reserved.