What is it good for?
Aslak
--
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 http://groups.google.com/group/cukes?hl=en.
Now I'm confused. Are you saying it didn't work the way you expected it to?
Aslak
I have been wondering this myself. I think dry-run is useful, but it'd
be an improvement if its uses were given better names (and support) in
Cucumber. Off the top of my head I think separate --check-syntax and
--no-execute flags might be more meaningful.
Mike
I use it with the JSON formatter to do other things with features,
scenarios, and steps (analysis, integration, etc.). If formatters live
more in Gherkin and it were as obvious how to use Gherkin's CLI as
Cucumber's, I'd probably not need the dry run switch on Cucumber. Not
sure if that's ultimately a goal for Gherkin, but it seems like it
might be.
Richard
We should fix that. What's happening instead?
Aslak
On Mon, Oct 24, 2011 at 10:34 AM, Vamsi <vamsi.m...@gmail.com> wrote:We should fix that. What's happening instead?
> Yes, Aslak it didn't really work the way it was mentioned in the cucumber
> book . I did try it a few times but I gave up !!
Aslak
I used it a few times, according to cucumber help; the dry run should only try to look for errors is Gherkin and mismatching steps/defs however, I find that it tries to open the IE browser . Is it the expected behaviour ?
This highlights why I think it should be renamed and / or split into
multiple complementary options. "Dry run" is kind of vague, so its
correct behavior is hard to pin down and test. If we had an option
like "--search-mappings [OPTIONS]" where options could include keys
like "unused" and "undefined" as well as general search terms, I bet
that the problems with it would vanish.
Mike
> @Vamsi, you need to make sure that the code which loads the browser is in
> env.rb; AFAIK that is the file that's skipped when --dry-run is invoked.
> cheers,
> Matt
> --
> Freelance programmer & coach
> Author, http://pragprog.com/book/hwcuc/the-cucumber-book (with Aslak
> Hellesøy)
> Founder, http://relishapp.com
> +44(0)7974430184 | http://twitter.com/mattwynne
>
Aslak
On Sun, Oct 23, 2011 at 4:27 PM, aslak hellesoy <aslak.h...@gmail.com> wrote:Is anyone using --dry-run ? I haven't used it myself, and I'm
wondering whether or not to add it to Cucumber-JVM.
What is it good for?I set up a rake task for using --dry-runthe reasonnew people(ba's qa's dev's) joining our team without an experience using (ruby or understanding the correct syntax for writing the feature files)that find themselves knee deep in the feature files. before they check in we ask them to run the task to check for errors before they check inthe thought is that checking in features with errors will break things in CI or for other people working on the project
Aslak
--
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 http://groups.google.com/group/cukes?hl=en.
--
-- 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