Package net.thucydides.core.model
Class Stories
java.lang.Object
net.thucydides.core.model.Stories
public class Stories
extends java.lang.Object
Helper methods to deal with stories and related classes.
-
Constructor Summary
Constructors Constructor Description Stories()
-
Method Summary
Modifier and Type Method Description static Story
findStoryFrom(java.lang.Class<?> testClass)
Find the Story defined directly or indirectly in a class.static java.lang.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 Details
-
Stories
public Stories()
-
-
Method Details
-
findStoryFrom
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
-