Class JUnit4StoryRunner

  • All Implemented Interfaces:
    org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Orderable, org.junit.runner.manipulation.Sortable

    public class JUnit4StoryRunner
    extends org.junit.runners.BlockJUnit4ClassRunner
    • Method Summary

      Modifier and Type Method Description
      protected org.junit.runners.model.Statement childrenInvoker​(org.junit.runner.notification.RunNotifier notifier)
      Returns a Statement execution the Embeddable.run() with a JUnit4StoryReporter.
      org.junit.runner.Description getDescription()  
      static EmbedderControls recommendedControls​(Embedder embedder)  
      int testCount()  
      • Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner

        collectInitializationErrors, computeTestMethods, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
      • Methods inherited from class org.junit.runners.ParentRunner

        classBlock, classRules, createTestClass, filter, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
    • Method Detail

      • getDescription

        public org.junit.runner.Description getDescription()
        Specified by:
        getDescription in interface org.junit.runner.Describable
        Overrides:
        getDescription in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
      • testCount

        public int testCount()
        Overrides:
        testCount in class org.junit.runner.Runner
      • childrenInvoker

        protected org.junit.runners.model.Statement childrenInvoker​(org.junit.runner.notification.RunNotifier notifier)
        Returns a Statement execution the Embeddable.run() with a JUnit4StoryReporter.
        Overrides:
        childrenInvoker in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>