Coverage Report - org.jbehave.core.junit.JUnitStories
 
Classes in this File Line Coverage Branch Coverage Complexity
JUnitStories
100%
3/3
N/A
1
 
 1  
 package org.jbehave.core.junit;
 2  
 
 3  
 import java.util.List;
 4  
 
 5  
 import org.jbehave.core.ConfigurableEmbedder;
 6  
 import org.junit.Test;
 7  
 
 8  
 /**
 9  
  * <p>
 10  
  * JUnit-runnable entry-point to run multiple stories specified by {@link JUnitStories#storyPaths()}.
 11  
  * </p>
 12  
  */
 13  1
 public abstract class JUnitStories extends ConfigurableEmbedder {
 14  
 
 15  
     @Test
 16  
     public void run() throws Throwable {
 17  1
         configuredEmbedder().runStoriesAsPaths(storyPaths());
 18  1
     }
 19  
 
 20  
     protected abstract List<String> storyPaths();
 21  
 
 22  
 }