com.thoughtworks.gauge
Class Scenario

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

public class Scenario
extends Object

Holds the information about the current Scenario executing at Runtime


Constructor Summary
Scenario()
           
Scenario(String name, boolean isFailing, List<String> tags)
           
 
Method Summary
 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

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


Copyright © 2015. All rights reserved.