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.GivenStories;
 8  
 import org.jbehave.core.model.Lifecycle;
 9  
 import org.jbehave.core.model.Meta;
 10  
 import org.jbehave.core.model.Narrative;
 11  
 import org.jbehave.core.model.OutcomesTable;
 12  
 import org.jbehave.core.model.Scenario;
 13  
 import org.jbehave.core.model.Story;
 14  
 import org.jbehave.core.model.StoryDuration;
 15  
 
 16  
 /**
 17  
  * Allows the runner to report the state of running stories
 18  
  * 
 19  
  * @author Elizabeth Keogh
 20  
  * @author Mauro Talevi
 21  
  */
 22  
 public interface StoryReporter {
 23  
 
 24  
     void storyNotAllowed(Story story, String filter);
 25  
 
 26  
     void storyCancelled(Story story, StoryDuration storyDuration);
 27  
 
 28  
     void beforeStory(Story story, boolean givenStory);
 29  
 
 30  
     void afterStory(boolean givenStory);
 31  
 
 32  
     void narrative(Narrative narrative);
 33  
 
 34  
     void lifecyle(Lifecycle lifecycle);
 35  
 
 36  
     void scenarioNotAllowed(Scenario scenario, String filter);
 37  
 
 38  
     void beforeScenario(String scenarioTitle);
 39  
     
 40  
     void scenarioMeta(Meta meta);
 41  
 
 42  
     void afterScenario();
 43  
 
 44  
     void givenStories(GivenStories givenStories);
 45  
 
 46  
         void givenStories(List<String> storyPaths);
 47  
 
 48  
     void beforeExamples(List<String> steps, ExamplesTable table);
 49  
 
 50  
     void example(Map<String, String> tableRow);
 51  
 
 52  
     void afterExamples();
 53  
 
 54  
     void beforeStep(String step);
 55  
     
 56  
     void successful(String step);
 57  
 
 58  
     void ignorable(String step);
 59  
 
 60  
     void pending(String step);
 61  
 
 62  
     void notPerformed(String step);
 63  
 
 64  
     void failed(String step, Throwable cause);
 65  
 
 66  
         void failedOutcomes(String step, OutcomesTable table);
 67  
 
 68  
     void restarted(String step, Throwable cause);
 69  
 
 70  
     void dryRun();
 71  
 
 72  
     void pendingMethods(List<String> methods);
 73  
 
 74  
 
 75  
 }