@API(status=STABLE)
public interface ObjectFactory
Modifier and Type | Method and Description |
---|---|
boolean |
addClass(Class<?> glueClass)
Collects glue classes in the classpath.
|
<T> T |
getInstance(Class<T> glueClass)
Provides the glue instances used to execute the current scenario.
|
void |
start()
Instantiate glue code before scenario execution.
|
void |
stop()
Dispose glue code after scenario execution.
|
void start()
void stop()
boolean addClass(Class<?> glueClass)
glueClass
- Glue class containing cucumber.api annotations (Before,
Given, When, ...)Copyright © 2019. All rights reserved.