Class TestCase

java.lang.Object
io.cucumber.messages.types.TestCase

public final class TestCase extends Object
Represents the TestCase message in Cucumber's message protocol

A `TestCase` contains a sequence of `TestStep`s.

  • Constructor Details

  • Method Details

    • getId

      public String getId()
    • getPickleId

      public String getPickleId()
      The ID of the `Pickle` this `TestCase` is derived from.
    • getTestSteps

      public List<TestStep> getTestSteps()
    • getTestRunStartedId

      public Optional<String> getTestRunStartedId()
      Identifier for the test run that this test case belongs to
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object