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