I have this project structure:
/src /it /java /com/xxx/test/it ContextSteps /inventory InventoryIT InventorySteps /resources /com/xxx/test/it/inventory 1.feature 2.feature Runner InventoryIT (both features are annotated with @inventory)
@RunWith(Cucumber.class) @CucumberOptions(tags = "@inventory") public class InventoryIT { } Note that ContextSteps in injected in InventorySteps through cucumber-picocontainer.
When I execute project tests through this runner (with maven or from the IDE as well), I expect both 1.feature and 2.feature run (because both are placed in the same resources package), but just runs the first one: 1.feature.
Am I missing something? Thanks for the help.