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