Class SimpleFeature

java.lang.Object
org.nuxeo.runtime.test.runner.SimpleFeature
All Implemented Interfaces:
RunnerFeature

@Deprecated public class SimpleFeature extends Object implements RunnerFeature
Deprecated.
since 10.3, implements directly RunnerFeature
These are the states the runner goes through when using runtime feature:
 CREATE FRAMEWORK
 new feature()        --> constructor
 COLLECT DEFINED DEPLOYMENTS
 feature.initialize() --> can be used to configure nuxeo home or register JNDI objects
 START FRAMEWORK
 feature.start()
 feature.beforeRun()
 feature.configure() --> can be used to add guice bindings and to dynamically deploy components using the harness
 for each test method:
   feature.testCreated()
   feature.beforeSetup
   feature.beforeMethodRun()  --> test method interceptor
   testMethod()
   feature.afterMethodRun()   --> test method interceptor
   feature.afterTeardown()
 feature.afterRun() --> cleanup that require framework to be started
 STOP FRAMEWORK
 feature.stop()  --> destructor
 
Author:
Bogdan Stefanescu