I am strugling with using tags. I have created a project which contains @Cucumber.Options(format = {"pretty", "html:build/cucumber-html-report"}, tags = {"@my", "@first"}). nevertheless when i try to run via command line using gradle cucumber -Pproject="Sugar" -Ptags="@first". by inputting this command I am expecting to run only that particular that scenario, but it runs the whole feature file it doesn't acknowldge -Ptags ="first" at all.
Please Help.Kind Regards,Bilal Ejaz--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cu...@googlegroups.com. To unsubscribe from this group, send email to cukes+un...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
---
You received this message because you are subscribed to the Google Groups "Cukes" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Aslak,thank you for you prompt reply, I have input the following in the command line (gradle cucumber -PPlatform="Android" -PAppName="Mustatrd" -Dcucumber.options="--tags @my"). it just runs the whole feature without acknowledging the tags I am specifying.
I have two scenarios which contains tags , below is my gradle.feature file specifying tags
@ffFeature:Gradle-Cucumber integration@myScenario: run app non-mustardGiven run simple non-mustard steps@secondScenario: run app mustardGiven run simple mustard steps@Cucumber.Options(format = {"pretty", "html:build/cucumber-html-report"}, tags = {"@my", "@first"}). What I was hopping for it to execute only one tag (which is scenario with @my tag). Could you please elaborate on this matter.
Kind Regards,Bilal Ejaz--
You received this message because you are subscribed to a topic in the Google Groups "Cukes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cukes/diklu9YlCYA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to cukes+un...@googlegroups.com.
Hi Aslak,I am using cucumber 1.1.12, I had to down grade it from 1.1.13
You received this message because you are subscribed to a topic in the Google Groups "Cukes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cukes/diklu9YlCYA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to cukes+un...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Cukes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cukes/diklu9YlCYA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to cukes+un...@googlegroups.com.
Hi Aslak,i downloaded the jar file for cucumber-java 1.1.12 and down graded to cucumber-java 1.1.13.
3) If you have a question, don't reply to an existing message. Start a new top You received this message because you are subscribed to a topic in the Google Groups "Cukes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cukes/diklu9YlCYA/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to cukes+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Aslak,I am extremely sorry, yes you are correct, the version i am using is 1.1.2 which is downgraded from 1.1.3. I do apologise for this mistake.
I am strugling with using tags. I have created a project which contains @Cucumber.Options(format = {"pretty", "html:build/cucumber-html-report"}, tags = {"@my", "@first"}). nevertheless when i try to run via command line using gradle cucumber -Pproject="Sugar" -Ptags="@first". by inputting this command I am expecting to run only that particular that scenario, but it runs the whole feature file it doesn't acknowldge -Ptags ="first" at all.
Please Help.