Class JUnitReportingRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
com.github.valfirst.jbehave.junit.monitoring.JUnitReportingRunner
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
public class JUnitReportingRunner
extends org.junit.runners.BlockJUnit4ClassRunner
-
Constructor Summary
ConstructorsConstructorDescriptionJUnitReportingRunner(Class<? extends org.jbehave.core.ConfigurableEmbedder> testClass) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.junit.runners.model.StatementchildrenInvoker(org.junit.runner.notification.RunNotifier notifier)Returns aStatement: CallBlockJUnit4ClassRunner.runChild(org.junit.runners.model.FrameworkMethod, RunNotifier)on each object returned byBlockJUnit4ClassRunner.getChildren()(subject to any imposed filter and sort)org.junit.runner.Descriptionstatic org.jbehave.core.embedder.EmbedderControlsrecommendedControls(org.jbehave.core.embedder.Embedder embedder)intMethods 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, withPotentialTimeoutMethods inherited from class org.junit.runners.ParentRunner
classBlock, classRules, createTestClass, filter, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
-
Constructor Details
-
JUnitReportingRunner
public JUnitReportingRunner(Class<? extends org.jbehave.core.ConfigurableEmbedder> testClass) throws org.junit.runners.model.InitializationError, ReflectiveOperationException- Throws:
org.junit.runners.model.InitializationErrorReflectiveOperationException
-
-
Method Details
-
getDescription
public org.junit.runner.Description getDescription()- Specified by:
getDescriptionin interfaceorg.junit.runner.Describable- Overrides:
getDescriptionin classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
testCount
public int testCount()- Overrides:
testCountin classorg.junit.runner.Runner
-
childrenInvoker
protected org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)Returns aStatement: CallBlockJUnit4ClassRunner.runChild(org.junit.runners.model.FrameworkMethod, RunNotifier)on each object returned byBlockJUnit4ClassRunner.getChildren()(subject to any imposed filter and sort)- Overrides:
childrenInvokerin classorg.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
recommendedControls
public static org.jbehave.core.embedder.EmbedderControls recommendedControls(org.jbehave.core.embedder.Embedder embedder)
-