Sharing State Between Cucumber Steps with Dependency Injection
When using Cucumber, if you want to share state between multiple step definition files, you'll need to use dependency injection (DI). There are several options: PicoContainer, Spring, OpenEJB, etc. If you're not already using DI, then I recommend PicoContainer. Otherwise, use the one that's already...
When using Cucumber, if you wa...
Read More