net.thucydides.easyb
Class ThucydidesPlugin

Package class diagram package ThucydidesPlugin
java.lang.Object
  extended by org.easyb.plugin.BasePlugin
      extended by net.thucydides.easyb.ThucydidesPlugin
All Implemented Interfaces:
groovy.lang.GroovyObject, org.easyb.plugin.EasybPlugin

public class ThucydidesPlugin
extends org.easyb.plugin.BasePlugin


Constructor Summary
ThucydidesPlugin()
           
ThucydidesPlugin(WebdriverManager manager)
           
 
Method Summary
 Object afterGiven(groovy.lang.Binding binding)
           
 Object afterScenario(groovy.lang.Binding binding)
           
 Object afterStory(groovy.lang.Binding binding)
           
 Object afterThen(groovy.lang.Binding binding)
           
 Object afterWhen(groovy.lang.Binding binding)
           
 Object beforeGiven(groovy.lang.Binding binding)
           
 Object beforeScenario(groovy.lang.Binding binding)
           
 Object beforeStory(groovy.lang.Binding binding)
           
 Object beforeThen(groovy.lang.Binding binding)
           
 Object beforeWhen(groovy.lang.Binding binding)
           
 boolean errorIsNew(Throwable error)
           
 Object generateReportsFor(List<TestOutcome> testRunResults)
           
protected  BatchManager getBatchManager()
           
 PluginConfiguration getConfiguration()
           
 Collection<AcceptanceTestReporter> getDefaultReporters()
           
 String getName()
           
 Pages getPages()
           
 boolean getPluginInitialized()
           
 Object getRaisedErrors()
           
 ReportService getReportService()
           
 StepFactory getStepFactory()
           
 StepListener getStepListener()
           
 StepPublisher getStepPublisher()
           
protected  Configuration getSystemConfiguration()
           
 List<TestOutcome> getTestOutcomes()
           
protected  WebdriverManager getWebdriverManager()
           
 Object initializeReportService()
           
 Object initializeStepsLibraries(groovy.lang.Binding binding)
           
 boolean isPluginInitialized()
           
 Object lookupStoryFileFrom(Object binding)
           
 Object lookupStoryNameFrom(Object binding)
           
 Object pageUrlHasBeenDefinedFor(Object pages)
           
 PluginConfiguration resetConfiguration()
           
protected  void resetWebdriverManagerIfRequired()
           
 void setPages(Pages value)
           
 void setPluginInitialized(boolean value)
           
 void setRaisedErrors(Object value)
           
 void setReportService(ReportService value)
           
 void setStepFactory(StepFactory value)
           
 void setStepListener(StepListener value)
           
 void setStepPublisher(StepPublisher value)
           
 void setSystemConfiguration(Configuration value)
           
 
Methods inherited from class org.easyb.plugin.BasePlugin
getClassLoader, getMetaClass, getProperty, invokeMethod, setClassLoader, setMetaClass, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThucydidesPlugin

public ThucydidesPlugin()

ThucydidesPlugin

public ThucydidesPlugin(WebdriverManager manager)
Method Detail

getReportService

public ReportService getReportService()

setReportService

public void setReportService(ReportService value)

getStepFactory

public StepFactory getStepFactory()

setStepFactory

public void setStepFactory(StepFactory value)

getStepListener

public StepListener getStepListener()

setStepListener

public void setStepListener(StepListener value)

getStepPublisher

public StepPublisher getStepPublisher()

setStepPublisher

public void setStepPublisher(StepPublisher value)

setSystemConfiguration

public void setSystemConfiguration(Configuration value)

getPluginInitialized

public boolean getPluginInitialized()

isPluginInitialized

public boolean isPluginInitialized()

setPluginInitialized

public void setPluginInitialized(boolean value)

getPages

public Pages getPages()

setPages

public void setPages(Pages value)

getRaisedErrors

public Object getRaisedErrors()

setRaisedErrors

public void setRaisedErrors(Object value)

getName

public String getName()
Specified by:
getName in interface org.easyb.plugin.EasybPlugin
Specified by:
getName in class org.easyb.plugin.BasePlugin

resetWebdriverManagerIfRequired

protected void resetWebdriverManagerIfRequired()

getWebdriverManager

protected WebdriverManager getWebdriverManager()

getBatchManager

protected BatchManager getBatchManager()

beforeStory

public Object beforeStory(groovy.lang.Binding binding)
Specified by:
beforeStory in interface org.easyb.plugin.EasybPlugin
Overrides:
beforeStory in class org.easyb.plugin.BasePlugin

lookupStoryNameFrom

public Object lookupStoryNameFrom(Object binding)

lookupStoryFileFrom

public Object lookupStoryFileFrom(Object binding)

beforeScenario

public Object beforeScenario(groovy.lang.Binding binding)
Specified by:
beforeScenario in interface org.easyb.plugin.EasybPlugin
Overrides:
beforeScenario in class org.easyb.plugin.BasePlugin

afterScenario

public Object afterScenario(groovy.lang.Binding binding)
Specified by:
afterScenario in interface org.easyb.plugin.EasybPlugin
Overrides:
afterScenario in class org.easyb.plugin.BasePlugin

getTestOutcomes

public List<TestOutcome> getTestOutcomes()

afterStory

public Object afterStory(groovy.lang.Binding binding)
Specified by:
afterStory in interface org.easyb.plugin.EasybPlugin
Overrides:
afterStory in class org.easyb.plugin.BasePlugin

beforeGiven

public Object beforeGiven(groovy.lang.Binding binding)
Specified by:
beforeGiven in interface org.easyb.plugin.EasybPlugin
Overrides:
beforeGiven in class org.easyb.plugin.BasePlugin

beforeWhen

public Object beforeWhen(groovy.lang.Binding binding)
Specified by:
beforeWhen in interface org.easyb.plugin.EasybPlugin
Overrides:
beforeWhen in class org.easyb.plugin.BasePlugin

beforeThen

public Object beforeThen(groovy.lang.Binding binding)
Specified by:
beforeThen in interface org.easyb.plugin.EasybPlugin
Overrides:
beforeThen in class org.easyb.plugin.BasePlugin

afterGiven

public Object afterGiven(groovy.lang.Binding binding)
Specified by:
afterGiven in interface org.easyb.plugin.EasybPlugin
Overrides:
afterGiven in class org.easyb.plugin.BasePlugin

afterWhen

public Object afterWhen(groovy.lang.Binding binding)
Specified by:
afterWhen in interface org.easyb.plugin.EasybPlugin
Overrides:
afterWhen in class org.easyb.plugin.BasePlugin

afterThen

public Object afterThen(groovy.lang.Binding binding)
Specified by:
afterThen in interface org.easyb.plugin.EasybPlugin
Overrides:
afterThen in class org.easyb.plugin.BasePlugin

errorIsNew

public boolean errorIsNew(Throwable error)

initializeReportService

public Object initializeReportService()

generateReportsFor

public Object generateReportsFor(List<TestOutcome> testRunResults)

initializeStepsLibraries

public Object initializeStepsLibraries(groovy.lang.Binding binding)

pageUrlHasBeenDefinedFor

public Object pageUrlHasBeenDefinedFor(Object pages)

getConfiguration

public PluginConfiguration getConfiguration()

resetConfiguration

public PluginConfiguration resetConfiguration()

getSystemConfiguration

protected Configuration getSystemConfiguration()

getDefaultReporters

public Collection<AcceptanceTestReporter> getDefaultReporters()


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.