net.thucydides.junit.steps
Class StepFactory
java.lang.Object
net.thucydides.junit.steps.StepFactory
public class StepFactory
- extends Object
Produces an instance of a set of requirement steps for use in the acceptance tests.
Requirement steps navigate through pages using a WebDriver driver.
- Author:
- johnsmart
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepFactory
public StepFactory(Pages pages)
addListener
public void addListener(org.junit.runner.notification.RunListener listener)
newSteps
public ScenarioSteps newSteps(Class<? extends ScenarioSteps> scenarioStepsClass)
- Returns a new ScenarioSteps instance, of the specified type.
This is actually a proxy that allows reporting and screenshots to
be performed at each step.
notifyStepFailures
public void notifyStepFailures()
Copyright © 2011 Wakaleo Consulting. All Rights Reserved.