cancel
Showing results for 
Search instead for 
Did you mean: 

Override Runner Options Tags to Run All Tags

andrewsaunders
Occasional Contributor

Override Runner Options Tags to Run All Tags

Hi

 

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.

 

Thanks

 

1 REPLY 1

Re: Override Runner Options Tags to Run All Tags

Hello,

 

This is not possible using current implementation of cucumber

 

The tags are managed using the tag-expression package: https://github.com/cucumber/cucumber/tree/master/tag-expressions

 

It does not support generics

New Here?
Join us and watch the welcome video: