Package io.cucumber.plugin.event
Class Result
java.lang.Object
io.cucumber.plugin.event.Result
The result of a step, scenario or test run.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Result
Creates a new result.- Parameters:
status- status of the step or scenarioduration- the durationerror- the error that caused the failure if any
-
-
Method Details
-
getStatus
-
getDuration
-
getError
Returns the error encountered while executing a step, scenario or test run.Will return null when passed. May return null when status is undefined or when skipped due to a failing prior step.
- Returns:
- the error encountered while executing a step or scenario or null.
-
hashCode
public int hashCode() -
equals
-
toString
-