com.thoughtworks.gauge
Class Specification

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

public class Specification
extends Object

Holds the information about the current Specification executing at Runtime


Constructor Summary
Specification()
           
Specification(String name, String fileName, boolean isFailing, List<String> tags)
           
 
Method Summary
 String getFileName()
           
 Boolean getIsFailing()
           
 String getName()
           
 List<String> getTags()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2015. All rights reserved.