org.nuxeo.runtime.test.runner.web
Class WebDriverFeature
java.lang.Object
org.nuxeo.runtime.test.runner.SimpleFeature
org.nuxeo.runtime.test.runner.web.WebDriverFeature
- All Implemented Interfaces:
- RunnerFeature
public class WebDriverFeature
- extends SimpleFeature
WebDriverFeature
public WebDriverFeature()
initialize
public void initialize(FeaturesRunner runner)
throws Exception
- Description copied from interface:
RunnerFeature
- Called 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:
initialize
in interface RunnerFeature
- Overrides:
initialize
in class SimpleFeature
- Throws:
Exception
configure
public void configure(FeaturesRunner runner,
com.google.inject.Binder binder)
- Description copied from interface:
RunnerFeature
- Configures 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:
configure
in interface RunnerFeature
- Overrides:
configure
in class SimpleFeature
stop
public void stop(FeaturesRunner runner)
throws Exception
- Description copied from interface:
RunnerFeature
- Before exiting the test.
- Specified by:
stop
in interface RunnerFeature
- Overrides:
stop
in class SimpleFeature
- Throws:
Exception
Copyright © 2011 Nuxeo SAS. All Rights Reserved.