public final class TestContextRule extends Object implements TestListenerRule
test execution
context
from inside a test.Constructor and Description |
---|
TestContextRule() |
Modifier and Type | Method and Description |
---|---|
TestContext<Object> |
getTestContext()
Retrieve the test context object.
|
void |
onStart(TestContext<Object> context)
Method used at the start of the test.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeStatement, of, onAssumptionSkip, onEnd, onEnd, onError, onFailure, onStart
public TestContextRule()
public void onStart(TestContext<Object> context)
TestListenerRule
Default implementation is to do nothing.
onStart
in interface TestListenerRule
context
- the test contextpublic TestContext<Object> getTestContext()
Copyright © 2015 Powerunit. All rights reserved.