have a doubt regarding running multiple feature files using Java.
I use like below to run individual feature file.
@Cucumber.Options(features="001-OQ_List.feature").But when I have one more feature file I am not able to run in batch.Trying to add like below,but getting error@Cucumber.Options(features="001-OQ_List.feature").@Cucumber.Options(features="002-OQ_List.feature").Please anybody help me to get rid of this problem ......
If you are just looking to run all feature files, just specify the directory rather than specific feature file:@Options(features="relative/path/to/features")To run specific subsets of features or scenarios, use tagging as described by Rodrigo.
On Tuesday, December 4, 2012 3:22:26 AM UTC, Amaresh wrote:have a doubt regarding running multiple feature files using Java.
I use like below to run individual feature file.
@Cucumber.Options(features="001-OQ_List.feature").But when I have one more feature file I am not able to run in batch.Trying to add like below,but getting error@Cucumber.Options(features="001-OQ_List.feature").@Cucumber.Options(features="002-OQ_List.feature").Please anybody help me to get rid of this problem ......
--
-- 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
mvn test -Dcucumber.options="classpath:dir/f1.feature classpath:dir/f2.feature"