@API(status=STABLE) public final class TestStepFinished extends TestCaseEvent
A step can either be a PickleStepTestStep or a
HookTestStep depending on what step was executed.
Each test step finished event is followed by an matching
TestStepStarted event for the same step.The order in which
these events may be expected is:
[before hook,]* [[before step hook,]* test step, [after step hook,]*]+, [after hook,]*
PickleStepTestStep,
HookTestStep| Constructor and Description |
|---|
TestStepFinished(Instant timeInstant,
TestCase testCase,
TestStep testStep,
Result result) |
| Modifier and Type | Method and Description |
|---|---|
Instant |
getInstant()
Returns instant from epoch.
|
Result |
getResult() |
TestStep |
getTestStep() |
getTestCasepublic Result getResult()
public TestStep getTestStep()
public Instant getInstant()
getInstant in interface EventInstant.now()Copyright © 2020. All rights reserved.