All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cucumber.api.event.TestStepFinished Maven / Gradle / Ivy

There is a newer version: 7.22.0
Show newest version
package cucumber.api.event;

import cucumber.api.HookTestStep;
import cucumber.api.PickleStepTestStep;
import cucumber.api.Result;
import cucumber.api.TestCase;
import cucumber.api.TestStep;

/**
 * A test step finished event is broadcast when ever a step finishes.
 * 

* A step can either be a {@link PickleStepTestStep} or a * {@link HookTestStep} depending on what step was executed. *

* Each test step finished event is followed by an matching * {@link 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,]*
 * 
* * @see PickleStepTestStep * @see HookTestStep */ public final class TestStepFinished extends TestCaseEvent { public final TestStep testStep; public final Result result; public TestStepFinished(Long timeStamp, TestCase testCase, TestStep testStep, Result result) { super(timeStamp, testCase); this.testStep = testStep; this.result = result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy