net.thucydides.jbehave
Class ThucydidesStepFactory
java.lang.Object
org.jbehave.core.steps.AbstractStepsFactory
net.thucydides.jbehave.ThucydidesStepFactory
- All Implemented Interfaces:
- org.jbehave.core.steps.InjectableStepsFactory
public class ThucydidesStepFactory
- extends org.jbehave.core.steps.AbstractStepsFactory
| Nested classes/interfaces inherited from class org.jbehave.core.steps.AbstractStepsFactory |
org.jbehave.core.steps.AbstractStepsFactory.StepsInstanceNotFound |
| Methods inherited from class org.jbehave.core.steps.AbstractStepsFactory |
hasAnnotatedMethods |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThucydidesStepFactory
public ThucydidesStepFactory(org.jbehave.core.configuration.Configuration configuration,
String rootPackage)
createCandidateSteps
public List<org.jbehave.core.steps.CandidateSteps> createCandidateSteps()
- Specified by:
createCandidateSteps in interface org.jbehave.core.steps.InjectableStepsFactory- Overrides:
createCandidateSteps in class org.jbehave.core.steps.AbstractStepsFactory
stepsTypes
protected List<Class<?>> stepsTypes()
- Specified by:
stepsTypes in class org.jbehave.core.steps.AbstractStepsFactory
createInstanceOfType
public Object createInstanceOfType(Class<?> type)
getContext
public ThucydidesStepContext getContext()
resetContext
public static void resetContext()
withStepsFromPackage
public static ThucydidesStepFactory withStepsFromPackage(String rootPackage,
List<org.jbehave.core.reporters.Format> formats)
andConfiguration
public ThucydidesStepFactory andConfiguration(org.jbehave.core.configuration.Configuration configuration)
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.