Closed
Description
Summary
I was wondering if the project would be open to add something like this:
/**
* @return class(es) to look for glue code (step definitions and hooks).
* Optional.
*/
Class<?>[] glueClass() default {};
To the CucumberOptions (which now seem to be split by test framework).
Context & Motivation
The use of actual classes allows the option for easier code refactoring (renaming the class containing the glue code will automatically also rename this since it is not a string).
We as well need a more fine granular configuration in our project on which classes should be loaded (we do have classes in the same package that should not be loaded together).
We currently have a custom runner based on an older cucumber version that implements this behavior for us.