Class Scenario


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

      • Scenario

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

        public Scenario()
    • Method Detail

      • 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