Class WebDriverFeature
- java.lang.Object
-
- org.nuxeo.runtime.test.runner.web.WebDriverFeature
-
- All Implemented Interfaces:
RunnerFeature
public class WebDriverFeature extends Object implements RunnerFeature
-
-
Constructor Summary
Constructors Constructor Description WebDriverFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(FeaturesRunner runner, com.google.inject.Binder binder)Configures Guice bindings if any is required by the feature.voidinitialize(FeaturesRunner runner)Called when preparing to run the test class.voidstop(FeaturesRunner runner)Before exiting the test.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.test.runner.RunnerFeature
afterMethodRun, afterRun, afterTeardown, afterTeardown, beforeMethodRun, beforeRun, beforeSetup, beforeSetup, start, testCreated
-
-
-
-
Field Detail
-
browser
protected Browser browser
-
homepage
protected HomePage homepage
-
config
protected Configuration config
-
-
Method Detail
-
initialize
public void initialize(FeaturesRunner runner) throws Exception
Description copied from interface:RunnerFeatureCalled when preparing to run the test class. Framework is not started at this point. Here is time for the feature to configure the runner from annotations on the test class.- Specified by:
initializein interfaceRunnerFeature- Throws:
Exception
-
configure
public void configure(FeaturesRunner runner, com.google.inject.Binder binder)
Description copied from interface:RunnerFeatureConfigures Guice bindings if any is required by the feature. This is called after the framework is started and before Guice module is built. The tests are launched after guice module is built.- Specified by:
configurein interfaceRunnerFeature
-
stop
public void stop(FeaturesRunner runner)
Description copied from interface:RunnerFeatureBefore exiting the test.- Specified by:
stopin interfaceRunnerFeature
-
-