On Friday, 26 April 2013 at 00:35, Mike Howells wrote:
How do you set up a POM to get Cucumber-JVM to execute feature tests using Groovy glue code in the test phase?
Also, how do you add the option to only execute one feature file in a folder, rather than always executing all of them?
The installation instructions show how to add dependencies but that doesn't seem to add Cucumber to the test phase, and the page on running tests is rather unhelpful.
I've tried adding a JUnit wrapper but that doesn't get picked up by Maven either:@RunWith(Cucumber.class)
@Cucumber.Options(features={"src/test/features"},
glue={"src/main/groovy/com/example/mytesting/glue"},
format={"pretty",
"json:target/results.json",
"html:target/cucumber",
"junit:target/cucumber/junit.xml"})
public class TestFeatures
{
}
--
-- 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.
On Friday, 26 April 2013 at 00:35, Mike Howells wrote:
How do you set up a POM to get Cucumber-JVM to execute feature tests using Groovy glue code in the test phase?Can you create an issue on github and request for an example to be added?Aslak
On Friday, 26 April 2013 at 00:35, Mike Howells wrote:
How do you set up a POM to get Cucumber-JVM to execute feature tests using Groovy glue code in the test phase?Can you create an issue on github and request for an example to be added?Aslak
On Friday, 26 April 2013 at 01:50, Mike Howells wrote:
On Friday, 26 April 2013 10:22:19 UTC+10, Aslak Hellesøy wrote:
On Friday, 26 April 2013 at 00:35, Mike Howells wrote:
How do you set up a POM to get Cucumber-JVM to execute feature tests using Groovy glue code in the test phase?Can you create an issue on github and request for an example to be added?Aslak
Note that the Groovy example POM
assumes that ${basedir}/bin/cucumber-groovy.jar exists, but Maven doesn't seem to install that when it downloads dependencies.
On Friday, 26 April 2013 at 01:50, Mike Howells wrote:
On Friday, 26 April 2013 10:22:19 UTC+10, Aslak Hellesøy wrote:
On Friday, 26 April 2013 at 00:35, Mike Howells wrote:
How do you set up a POM to get Cucumber-JVM to execute feature tests using Groovy glue code in the test phase?Can you create an issue on github and request for an example to be added?Aslak
Note that the Groovy example POMthat's not an example, that's the cucumber-groovy module itself!