Coverage Report - org.jbehave.core.reporters.StoryReporter
 
Classes in this File Line Coverage Branch Coverage Complexity
StoryReporter
N/A
N/A
1
 
 1  
 package org.jbehave.core.reporters;
 2  
 
 3  
 import java.util.List;
 4  
 import java.util.Map;
 5  
 
 6  
 import org.jbehave.core.model.ExamplesTable;
 7  
 import org.jbehave.core.model.OutcomesTable;
 8  
 import org.jbehave.core.model.Story;
 9  
 
 10  
 /**
 11  
  * Allows the runner to report the state of running stories
 12  
  * 
 13  
  * @author Elizabeth Keogh
 14  
  * @author Mauro Talevi
 15  
  */
 16  
 public interface StoryReporter {
 17  
 
 18  
     void beforeStory(Story story, boolean givenStory);
 19  
 
 20  
     void afterStory(boolean givenStory);
 21  
 
 22  
     void beforeScenario(String title);
 23  
     
 24  
     void afterScenario();
 25  
     
 26  
         void givenStories(List<String> storyPaths);
 27  
 
 28  
     void beforeExamples(List<String> steps, ExamplesTable table);
 29  
 
 30  
     void example(Map<String, String> tableRow);
 31  
 
 32  
     void afterExamples();
 33  
 
 34  
     void successful(String step);
 35  
 
 36  
     void ignorable(String step);
 37  
 
 38  
     void pending(String step);
 39  
 
 40  
     void notPerformed(String step);
 41  
 
 42  
     void failed(String step, Throwable cause);
 43  
 
 44  
         void failedOutcomes(String step, OutcomesTable table);
 45  
 
 46  
         void dryRun();
 47  
 
 48  
 }