At this stage in the development of cucumber-jvm, does it support passing tags in from the commandline? I'm looking for something equivalent to the existing Cuke4Duke functionality whereby you can supply -DcukeArgs="--tags @foo" from the commandline
--
You received this message because you are subscribed to the Google Groups "Cukes" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cukes/-/fwTnsaONf28J.
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 http://groups.google.com/group/cukes?hl=en.
On Wed, Aug 31, 2011 at 12:46 PM, Robert <rest...@gmail.com> wrote:At this stage in the development of cucumber-jvm, does it support passing tags in from the commandline? I'm looking for something equivalent to the existing Cuke4Duke functionality whereby you can supply -DcukeArgs="--tags @foo" from the commandlineHowever, the CLI is still a little clunky. Try out the JRuby example to see some of its warts:Aslak
On Wednesday, August 31, 2011 4:55:04 AM UTC-7, Aslak Hellesøy wrote:On Wed, Aug 31, 2011 at 12:46 PM, Robert <rest...@gmail.com> wrote:At this stage in the development of cucumber-jvm, does it support passing tags in from the commandline? I'm looking for something equivalent to the existing Cuke4Duke functionality whereby you can supply -DcukeArgs="--tags @foo" from the commandlineHowever, the CLI is still a little clunky. Try out the JRuby example to see some of its warts:AslakHi Aslak,Thanks for the pointers!! I've read the contents contained in each link and successfully used the information in the README.md file to run the JRuby example contained in the cucumber-jvm source.So, I went ahead and took a stab at trying to run my project, which has been created using Eclipse. However, when I attempt to run my feature file via the CLI, it simply echoes back the feature file contents and some suggestions for step definitions. The odd thing is that I've implemented the step definitions, so I would expect the tests to run. I'm pretty sure that I'm doing something wrong. Here is the CLI command I'm usingjava -classpath src/test/resources:/home/restagner/.m2/repository/info/cukes/cucumber-picocontainer/1.0.0-SNAPSHOT/cucumber-picocontainer-1.0.0-SNAPSHOT-full.jar cucumber.cli.Main --glue cucumber/runtime hello.feature
To view this discussion on the web visit https://groups.google.com/d/msg/cukes/-/xiTXxNSxJPQJ.
On Wed, Aug 31, 2011 at 2:44 PM, Robert <rest...@gmail.com> wrote:
On Wednesday, August 31, 2011 4:55:04 AM UTC-7, Aslak Hellesøy wrote:On Wed, Aug 31, 2011 at 12:46 PM, Robert <res...@gmail.com> wrote:At this stage in the development of cucumber-jvm, does it support passing tags in from the commandline? I'm looking for something equivalent to the existing Cuke4Duke functionality whereby you can supply -DcukeArgs="--tags @foo" from the commandlineHowever, the CLI is still a little clunky. Try out the JRuby example to see some of its warts:AslakHi Aslak,Thanks for the pointers!! I've read the contents contained in each link and successfully used the information in the README.md file to run the JRuby example contained in the cucumber-jvm source.So, I went ahead and took a stab at trying to run my project, which has been created using Eclipse. However, when I attempt to run my feature file via the CLI, it simply echoes back the feature file contents and some suggestions for step definitions. The odd thing is that I've implemented the step definitions, so I would expect the tests to run. I'm pretty sure that I'm doing something wrong. Here is the CLI command I'm usingjava -classpath src/test/resources:/home/restagner/.m2/repository/info/cukes/cucumber-picocontainer/1.0.0-SNAPSHOT/cucumber-picocontainer-1.0.0-SNAPSHOT-full.jar cucumber.cli.Main --glue cucumber/runtime hello.feature--glue should point to the package where your own stepdefs are defined.
--
To unsubscribe from this group, send email to cukes...@googlegroups.com.