@Component(value="tapirStepFinishedStateUpdater") @Order(value=10000) public class StepFinishedStateUpdater extends AbstractExecutionListener
ExecutionState
. This ExecutionListener
has to have a higher
order number than all ExecutionListener
which rely on ExecutionState.getCurrentTestStep()
.ExecutionState
Constructor and Description |
---|
StepFinishedStateUpdater() |
Modifier and Type | Method and Description |
---|---|
void |
stepFailed(TestStep testStep,
Throwable throwable)
Called when a test step has been finished with an exception.
|
void |
stepSucceeded(TestStep testStep)
Called when a test step has been finished successfully
|
classFailed, classSkipped, classStarted, classSucceeded, executionFailed, executionStarted, executionSucceeded, stepSkipped, stepStarted, suiteFailed, suiteSkipped, suiteStarted, suiteSucceeded
public void stepSucceeded(TestStep testStep)
ExecutionListener
stepSucceeded
in interface ExecutionListener
stepSucceeded
in class AbstractExecutionListener
testStep
- the test step which has been finished successfullypublic void stepFailed(TestStep testStep, Throwable throwable)
ExecutionListener
stepFailed
in interface ExecutionListener
stepFailed
in class AbstractExecutionListener
testStep
- the test step which has been finished with an exceptionthrowable
- The occurred exceptionCopyright © 2018–2020 b+m Informatik AG. All rights reserved.