Package io.cucumber.messages.types
Class TestCaseStarted
java.lang.Object
io.cucumber.messages.types.TestCaseStarted
Represents the TestCaseStarted message in Cucumber's message protocol
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe first attempt should have value 0, and for each retry the value should increase by 1.getId()Because a `TestCase` can be run multiple times (in case of a retry), we use this field to group messages relating to the same attempt.An identifier for the worker process running this test case, if test cases are being run in parallel.inthashCode()toString()
-
Constructor Details
-
TestCaseStarted
-
-
Method Details
-
getAttempt
The first attempt should have value 0, and for each retry the value should increase by 1. -
getId
Because a `TestCase` can be run multiple times (in case of a retry), we use this field to group messages relating to the same attempt. -
getTestCaseId
-
getWorkerId
An identifier for the worker process running this test case, if test cases are being run in parallel. The identifier will be unique per worker, but no particular format is defined - it could be an index, uuid, machine name etc - and as such should be assumed that it's not human readable. -
getTimestamp
-
equals
-
hashCode
public int hashCode() -
toString
-