java.lang.Object
net.thucydides.model.domain.Stories

public class Stories extends Object
Helper methods to deal with stories and related classes.
  • Constructor Details

    • Stories

      public Stories()
  • Method Details

    • 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)