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()
getReportService
public net.thucydides.core.reports.ReportService getReportService()
setReportService
public void setReportService(net.thucydides.core.reports.ReportService value)
getStepFactory
public net.thucydides.core.steps.StepFactory getStepFactory()
setStepFactory
public void setStepFactory(net.thucydides.core.steps.StepFactory value)
getStepListener
public net.thucydides.core.steps.StepListener getStepListener()
setStepListener
public void setStepListener(net.thucydides.core.steps.StepListener value)
setSystemConfiguration
public void setSystemConfiguration(net.thucydides.core.webdriver.Configuration value)
getPluginInitialized
public boolean getPluginInitialized()
isPluginInitialized
public boolean isPluginInitialized()
setPluginInitialized
public void setPluginInitialized(boolean value)
getPages
public net.thucydides.core.pages.Pages getPages()
setPages
public void setPages(net.thucydides.core.pages.Pages value)
getRaisedErrors
public java.lang.Object getRaisedErrors()
setRaisedErrors
public void setRaisedErrors(java.lang.Object value)
getName
public java.lang.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 net.thucydides.core.webdriver.WebdriverManager getWebdriverManager()
getDefaultWebDriverFactory
protected net.thucydides.core.webdriver.WebDriverFactory getDefaultWebDriverFactory()
beforeStory
public java.lang.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 java.lang.Object lookupStoryNameFrom(java.lang.Object binding)
lookupStoryFileFrom
public java.lang.Object lookupStoryFileFrom(java.lang.Object binding)
beforeScenario
public java.lang.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 java.lang.Object afterScenario(groovy.lang.Binding binding)
- Specified by:
afterScenario in interface org.easyb.plugin.EasybPlugin- Overrides:
afterScenario in class org.easyb.plugin.BasePlugin
afterStory
public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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(java.lang.Throwable error)
initializeReportService
public java.lang.Object initializeReportService()
generateReportsFor
public java.lang.Object generateReportsFor(java.util.List<net.thucydides.core.model.TestOutcome> testRunResults)
initializeStepsLibraries
public java.lang.Object initializeStepsLibraries(groovy.lang.Binding binding)
pageUrlHasBeenDefinedFor
public java.lang.Object pageUrlHasBeenDefinedFor(java.lang.Object pages)
getConfiguration
public PluginConfiguration getConfiguration()
resetConfiguration
public PluginConfiguration resetConfiguration()
getSystemConfiguration
protected net.thucydides.core.webdriver.Configuration getSystemConfiguration()
getDefaultReporters
public java.util.Collection<net.thucydides.core.reports.AcceptanceTestReporter> getDefaultReporters()
$getStaticMetaClass
protected groovy.lang.MetaClass $getStaticMetaClass()
Copyright © 2011 Wakaleo Consulting. All Rights Reserved.