Forum Discussion

andrewsaunders's avatar
Occasional Contributor
4 years ago

Override Runner Options Tags to Run All Tags



I'd like to know if there is a way to override the Java Runner class's Option Tags using the 'cucumber.filter.tags' system property overrride at command line to run ALL tags.


In other words, we have a value tag in our Runner that will exclude work in progress tests. For other purposes, I'd like to override this 'not' rule on the Runner class and have a run execute with all tags in scope from command line or a new gradle task. Something like using the 'cucumber.filter.tags': 'ALL'


We're using the unused_steps plugin and would like to incorporate this into our builds with re-thinking how we re-structure the current set-up.