Class StepStartedStateUpdater
- java.lang.Object
-
- de.bmiag.tapir.execution.executor.AbstractExecutionListener
-
- de.bmiag.tapir.execution.executor.StepStartedStateUpdater
-
- All Implemented Interfaces:
ExecutionListener
@Component("tapirStepStartedStateUpdater") @Order(-10000) public class StepStartedStateUpdater extends AbstractExecutionListener
Responsible for setting the current step of theExecutionState
. ThisExecutionListener
has to have a lower order number than allExecutionListener
which rely onExecutionState.getCurrentTestStep()
.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
- See Also:
ExecutionState
-
-
Constructor Summary
Constructors Constructor Description StepStartedStateUpdater()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
stepStarted(TestStep testStep)
Called when a test step has been started.-
Methods inherited from class de.bmiag.tapir.execution.executor.AbstractExecutionListener
classFailed, classSkipped, classStarted, classSucceeded, executionFailed, executionStarted, executionSucceeded, stepFailed, stepSkipped, stepSucceeded, suiteFailed, suiteSkipped, suiteStarted, suiteSucceeded
-
-
-
-
Method Detail
-
stepStarted
public void stepStarted(TestStep testStep)
Description copied from interface:ExecutionListener
Called when a test step has been started. After this method has been calledExecutionListener.stepSucceeded(TestStep)
orExecutionListener.stepFailed(TestStep, Throwable)
will be called after processing the test step.- Specified by:
stepStarted
in interfaceExecutionListener
- Overrides:
stepStarted
in classAbstractExecutionListener
- Parameters:
testStep
- the test step which has been started- Since:
- 2.0.0
-
-