Package io.cucumber.messages.types
Class TestRunFinished
java.lang.Object
io.cucumber.messages.types.TestRunFinished
Represents the TestRunFinished message in Cucumber's message protocol
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAny exception thrown during the test run, if any.An informative message about the test run.A test run is successful if all steps are either passed or skipped, all before/after hooks passed and no other exceptions where thrown.Timestamp when the TestRun is finishedinthashCode()toString()
-
Constructor Details
-
TestRunFinished
-
-
Method Details
-
getMessage
An informative message about the test run. Typically additional information about failure, but not necessarily. -
getSuccess
A test run is successful if all steps are either passed or skipped, all before/after hooks passed and no other exceptions where thrown. -
getTimestamp
Timestamp when the TestRun is finished -
getException
Any exception thrown during the test run, if any. Does not include exceptions thrown while executing steps. -
getTestRunStartedId
-
equals
-
hashCode
public int hashCode() -
toString
-