net.thucydides.easyb
Class ThucydidesPlugin
java.lang.Object
org.easyb.plugin.BasePlugin
net.thucydides.easyb.ThucydidesPlugin
- All Implemented Interfaces:
- groovy.lang.GroovyObject, org.easyb.plugin.EasybPlugin
public class ThucydidesPlugin
- extends org.easyb.plugin.BasePlugin
| 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 |
ThucydidesPlugin
public ThucydidesPlugin()
ThucydidesPlugin
public ThucydidesPlugin(WebdriverManager manager)
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()
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 Wakaleo Consulting. All Rights Reserved.