Forum Discussion
aurelien-reeves
Staff
5 years agoHello,
It looks like you are using Cucumber-jvm
If so, I think using DI as explained in the following may help: https://cucumber.io/docs/cucumber/state/
I think that would allow you to bring the attach method inside your steps as part of your glue code