Class ScanningStepsFactory

All Implemented Interfaces:

public class ScanningStepsFactory extends AbstractStepsFactory
An InjectableStepsFactory that scans for classes in the classpath. The constructors allows the specification of the package names to scan or the root class from which the package name is derived. All classes that include any step method annotation (Given, When, Then, Before, After, etc ... ) will be collected in the scan. Additional regex filters on the class names are provided via the matchingNames(String) and notMatchingNames(String) methods, which by default match all names.