Hey Michael, thanks for the comments. Replies are below each item. On Nov 3, 4:20 pm, "Michael Klishin" <[EMAIL PROTECTED]> wrote:
> * finally, add a feature generator I've been toying with the idea of adding a bunch of features whenever people do merb-gen resource. This would generate * new_[resource].feature * delete_[resource].feature * edit_[resource].feature * show_[resource].feature * index_[resource].feature and would serve as a starting point. These would either use webrat, or the Merb helpers, according to the session type. Would this be useful? Also, what would a useful feature generator (merb-gen feature) contain? I'm having a bit of trouble coming up with a reason to justify the existence of that. :) > * 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) Great point. > * 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. Can you elaborate? At first sight this has to do more with cucumber itself than with merb_cucumber. The cucumber wiki has a few helpful pages (we can add a pointer to it in the after_generation hook). > * 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 Again, can you elaborate? I'm hesitant of adding stuff to merb_cucumber when those things could go to the parent projects (merb, cucumber, webrat) and benefit everyone, not just merb_cucumber users. Do you mean, how to use cucumber the Merb way? > * 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. These 2 are fixed in the latest commit. Roman contributed a new cucumber task to cucumber and changed cucumber.rake to use the new settings (which, btw, now goes to lib/tasks as of a few days ago). > * did I say it needs more examples, especially for webrat? We can also add a webrat pointer to help people get started with webrat. Perhaps the cucumber wiki could have some examples of use with it too. And I agree it would be great if the cucumber binary had a --skip- suggestions option. ;) Cheers, David --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
