public class FeatureRunner extends ExampleGroupRunner
Runner for Jnario features. It does not reset the scenario's
state between the execution of each step.Rule and Extensions.| Constructor and Description |
|---|
FeatureRunner(Class<?> klass) |
FeatureRunner(Class<?> klass,
NameProvider nameProvider,
Set<Method> setups) |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.Statement |
classBlock(org.junit.runner.notification.RunNotifier notifier) |
protected ExampleRunner |
createExampleRunner(Class<?> testClass,
org.junit.runners.model.FrameworkMethod from) |
SpecCreator |
getOrCreateTestInstantiator() |
protected List<org.junit.rules.TestRule> |
getTestRules() |
protected com.google.common.base.Predicate<org.junit.runners.model.FrameworkMethod> |
isTestMethod() |
allContainedClasses, allDeclaredClasses, classRules, collectExampleGroups, collectExamples, createExampleGroupRunner, createRunners, createTestInstantiator, describeChild, filterAlreadyScheduled, getChildren, getCreateWithAnnotation, getExtensions, getName, getNameProvider, orderMethods, runChild, targetClass, withAfterClasses, withBeforeClassespublic FeatureRunner(Class<?> klass, NameProvider nameProvider, Set<Method> setups) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorpublic FeatureRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected com.google.common.base.Predicate<org.junit.runners.model.FrameworkMethod> isTestMethod()
isTestMethod in class ExampleGroupRunnerprotected ExampleRunner createExampleRunner(Class<?> testClass, org.junit.runners.model.FrameworkMethod from) throws org.junit.runners.model.InitializationError, org.junit.runner.manipulation.NoTestsRemainException
createExampleRunner in class ExampleGroupRunnerorg.junit.runners.model.InitializationErrororg.junit.runner.manipulation.NoTestsRemainExceptionpublic SpecCreator getOrCreateTestInstantiator()
protected org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier)
classBlock in class org.junit.runners.ParentRunner<org.junit.runner.Runner>protected List<org.junit.rules.TestRule> getTestRules()
Copyright © 2012-2014 BMW Car IT. All Rights Reserved.