Package io.cucumber.junit
Class FeatureRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<PickleRunners.PickleRunner>
io.cucumber.junit.FeatureRunner
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<PickleRunners.PickleRunner> private final CucumberExecutionContextprivate @Nullable org.junit.runner.Descriptionprivate final Featureprivate final JUnitOptionsprivate final @Nullable Integer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFeatureRunner(Feature feature, @Nullable Integer uniqueSuffix, Predicate<Pickle> filter, CucumberExecutionContext context, JUnitOptions options) -
Method Summary
Modifier and TypeMethodDescription(package private) static FeatureRunnercreate(Feature feature, @Nullable Integer uniqueSuffix, Predicate<Pickle> filter, CucumberExecutionContext context, JUnitOptions options) protected org.junit.runner.Descriptionprotected List<PickleRunners.PickleRunner> org.junit.runner.Descriptionprotected StringgetName()(package private) booleanisEmpty()voidrun(org.junit.runner.notification.RunNotifier notifier) protected voidrunChild(PickleRunners.PickleRunner child, org.junit.runner.notification.RunNotifier notifier) Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, collectInitializationErrors, createTestClass, filter, getRunnerAnnotations, getTestClass, isIgnored, order, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolationMethods inherited from class org.junit.runner.Runner
testCount
-
Field Details
-
children
-
feature
-
options
-
uniqueSuffix
-
context
-
description
private @Nullable org.junit.runner.Description description
-
-
Constructor Details
-
FeatureRunner
private FeatureRunner(Feature feature, @Nullable Integer uniqueSuffix, Predicate<Pickle> filter, CucumberExecutionContext context, JUnitOptions options) throws org.junit.runners.model.InitializationError - Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
create
static FeatureRunner create(Feature feature, @Nullable Integer uniqueSuffix, Predicate<Pickle> filter, CucumberExecutionContext context, JUnitOptions options) -
isEmpty
boolean isEmpty() -
getName
- Overrides:
getNamein classorg.junit.runners.ParentRunner<PickleRunners.PickleRunner>
-
getDescription
public org.junit.runner.Description getDescription()- Specified by:
getDescriptionin interfaceorg.junit.runner.Describable- Overrides:
getDescriptionin classorg.junit.runners.ParentRunner<PickleRunners.PickleRunner>
-
getChildren
- Specified by:
getChildrenin classorg.junit.runners.ParentRunner<PickleRunners.PickleRunner>
-
describeChild
- Specified by:
describeChildin classorg.junit.runners.ParentRunner<PickleRunners.PickleRunner>
-
run
public void run(org.junit.runner.notification.RunNotifier notifier) - Overrides:
runin classorg.junit.runners.ParentRunner<PickleRunners.PickleRunner>
-
runChild
protected void runChild(PickleRunners.PickleRunner child, org.junit.runner.notification.RunNotifier notifier) - Specified by:
runChildin classorg.junit.runners.ParentRunner<PickleRunners.PickleRunner>
-