Skip to content
Discussion options

You must be logged in to vote

Cucumber has to load the classes it scans for step definitions and other glue code. The class loading is quite slow. You get this warning because Cucumber noticed that it scans a lot of classes that don't contain anything useful.

Which classes get scanned is controlled by 3 properties. The cucumber.glue, cucumber.glue.classes and cucumber.glue.{included,excluded}-class-name-pattern complement each other.

What the best combination is depends on your project structure.

You can use cucumber.glue to specify the general location. And if that package and its subpackaces mostly contain classes with step definitions or other glue code you shouldn't see a warning.

If that's not the case you can ei…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mpkorstanje
Comment options

Answer selected by toellrich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants