Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Passing multiple cucumber tags to maven task

Shash
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 9, 2018

Hello,

I have a maven task configured and I'm able to pass -Dcucumber.options to it.

e.g. 

-Dbrowser=chrome -Denv=QA "-Dcucumber.options=--tags @SANITY" clean verify

 

how do you i pass multiple tags? I tried

"-Dcucumber.options=--tags @SANITY --tags @SANITY1" but the plan says

Running RunTest
None of the features at [classpath:features] matched the filters: [@SANITY, @SANITY1]

 

1 answer

0 votes
Shafeka Tukiman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 12, 2019

anyone can help this issue? i also face the same issue

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events