net.thucydides.core.model
Class Stories

Package class diagram package Stories
java.lang.Object
  extended by net.thucydides.core.model.Stories

public class Stories
extends Object

Helper methods to deal with stories and related classes.


Constructor Summary
Stories()
           
 
Method Summary
static Story findStoryFrom(Class<?> testClass)
          Find the Story defined directly or indirectly in a class.
static String reportFor(Story story, ReportType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stories

public Stories()
Method Detail

findStoryFrom

public static Story findStoryFrom(Class<?> testClass)
Find the Story defined directly or indirectly in a class. It may be defined in the test case class using the @Story annotation, or it may be a class that represents a story directly.

Parameters:
testClass - Typically a test class of some kind.

reportFor

public static String reportFor(Story story,
                               ReportType type)


Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.