Just voicing my thoughts: > 1 - Instead of "When I go to /login" I would like the option of > writing "When I go to login" or When I go to :login" whereby if I > don't pass in something that looks like a path, it will use the merb > url() method to to get the path by name. Does someone have a hacked > version of common_webrat.rb
ME: personally i don't like this idea, cucumber's features is supposed to bridge the gap between developers (technical) and end-users (non-technical) ... an expression like "When I go to /login" is obvious to all parties abt the intention of the step, that is, accessing of "/login". Whereas "When I go to login" or "When I go to :login" don't, there is an additional layer introduced, the non-technical guys may ask, how do i go to "login" or ":login" ??? > 2 - Not sure the appropriate way to load sample data for cucumber > tests. Are these called fixtures in cucumber? What are others doing > here for datamapper test data? ME: Quite sometime ago, i done something at http://github.com/ngty/ty_cucumber_salad, haven't got the chance to update it due to many other distractions in life. Anyway, u can find the answers to ur this particular question there. Cheers == On Sat, Dec 20, 2008 at 9:51 AM, Jon Hancock <[email protected]> wrote: > > I finally have the basics of cucumber working with Scenario Outlines. > There are two things I need next: > > 1 - Instead of "When I go to /login" I would like the option of > writing "When I go to login" or When I go to :login" whereby if I > don't pass in something that looks like a path, it will use the merb > url() method to to get the path by name. Does someone have a hacked > version of common_webrat.rb > > 2 - Not sure the appropriate way to load sample data for cucumber > tests. Are these called fixtures in cucumber? What are others doing > here for datamapper test data? > > thanks, Jon > > > > > -- http://ngty77.blogspot.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
