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