2008/11/3 Roman Gonzalez <[EMAIL PROTECTED]>:
>> I did. I also found a cure for minigems and installed webrat from git.
>> I run several stories with some 200+ steps fine now.
>> There are already things I hate with passion about Cucumber but in
>> general it's a pleasure to use.
>
> What are the things you hate? I feel very curious about it.

cucumber runner swallows important exceptions so you pretty much have to set
logger level to debug and tail -f all the time

cucumber pollutes run output with "smart" "suggestions" to put some
code into steps file to make them pending.
In fact, not only it does not escape what it should escape (since
Given, When, Then methods take a regexp),
if you have some 40 steps written down in plain text but don't have
steps for them yet (say you written those down
after a phone conversation so that you won't forget details), it
basically makes runner output 1-2 pages longer and you have to scroll
all the time.

in general, cucumber tries to be smarter that it should be, but as
pretty much any tool it is dumb and at one point it just starts
irritate developer
more and more.

>> I just want to see what people do with webrat in real world apps.
>
> Yeah, this kind of API's helps A LOT :-), the coolest thing is that
> with the same Webrat interface, you could change to selenium without
> changing a line of code on the features implementation, we should make
> an option for that on the rake tasks.

Well, any source somewhere to check out? I believe it is cool, give me
some source,
I could not find any at this point. Generated steps do not help since
you do not see the whole picture.


> Don't worry, thanks for the feedback, is highly appreciated.

Some more feedback:

* finally, add a feature generator
* output some notes for people in after_generation hook (like, hey
check out this wiki page, it has plenty of examples to get you
started)
* add some examples: I am sure you have some toy app that uses it.
Login example is not enough for most of people, since I already found
a few cases where I am not sure what approach is good. Features mostly
are not like login, even signup is very different in a sense that you
test different things.
* add comments and examples to shared step files: since your plugin is
mostly just a generator, it's "add once, help everybody" sort of thing
* cucumber runner has a lot of options: provide access to them somehow
* fix warnings about cucumber binary that pop up on every run. If a
warning pops up on every run, it's annoying.
* did I say it needs more examples, especially for webrat?
-- 
MK

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to