net.thucydides.junit.steps
Class StepFactory

Package class diagram package StepFactory
java.lang.Object
  extended by 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

Constructor Summary
StepFactory(Pages pages)
           
 
Method Summary
 void addListener(org.junit.runner.notification.RunListener listener)
           
 ScenarioSteps newSteps(Class<? extends ScenarioSteps> scenarioStepsClass)
          Returns a new ScenarioSteps instance, of the specified type.
 void notifyStepFailures()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepFactory

public StepFactory(Pages pages)
Method Detail

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.