Class Specification


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

      • Specification

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

        public Specification()
    • Method Detail

      • 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