Class Scenario

java.lang.Object
com.thoughtworks.gauge.Scenario

public class Scenario extends Object
Holds the information about the current Scenario executing at Runtime.
  • Constructor Details

    • Scenario

      public Scenario(String name, boolean isFailing, List<String> tags)
    • Scenario

      public Scenario()
  • Method Details

    • getTags

      public List<String> getTags()
      Returns:
      List of all tags in just the scenario
    • getIsFailing

      public Boolean getIsFailing()
      Returns:
      True if the scenario or spec is failing
    • getName

      public String getName()
      Returns:
      Name of the Scenario as mentioned in the scenario heading