Class Specification

java.lang.Object
com.thoughtworks.gauge.Specification

public class Specification extends Object
Holds the information about the current Specification executing at runtime.
  • Constructor Details

    • Specification

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

      public Specification()
  • Method Details

    • getTags

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

      public Boolean getIsFailing()
      Returns:
      True if the current spec is failing.
    • getFileName

      public String getFileName()
      Returns:
      Full path to the Spec
    • getName

      public String getName()
      Returns:
      The name of the Specification as mentioned in the Spec heading