Package io.cucumber.messages.types
Class TestStepResult
java.lang.Object
io.cucumber.messages.types.TestStepResult
Represents the TestStepResult message in Cucumber's message protocol
-
Constructor Summary
ConstructorsConstructorDescriptionTestStepResult(Duration duration, String message, TestStepResultStatus status, Exception exception) -
Method Summary
-
Constructor Details
-
TestStepResult
public TestStepResult(Duration duration, String message, TestStepResultStatus status, Exception exception)
-
-
Method Details
-
getDuration
-
getMessage
An arbitrary bit of information that explains this result. If there was an exception, this should include a stringified representation of it including type, message and stack trace (the exact format will vary by platform). -
getStatus
-
getException
Exception thrown while executing this step, if any. -
equals
-
hashCode
public int hashCode() -
toString
-