Definitely a matter of taste. A few things 1) syntax highlighting seems to make aligning on the I more preferable 2) And's feel like there nested 3) Maybe its my programmers eye reading and looking for matches rather than reading the scenario as a whole
Is a feature prose? Seems closer to poetry in layout at least 2008/12/4 Peter Jaros <[EMAIL PROTECTED]> > On Wed, Dec 3, 2008 at 9:27 AM, Andrew Premdas <[EMAIL PROTECTED]> wrote: > > Oh but cucumber features so want to be idented on the I > > > > Scenario: Anonymous user can not duplicate a un-activated account > > Given I am an anonymous user > > And a registered user Fred exists > > When I signup as Fred > > Then I should see an error > > I have to disagree. I find the jagged margin looks messy. I would > never indent other prose this way, so why would I indent my features > this way? They're not code, they're prose. They're not written to be > parsed, they're written to be read like a story. > > Peter > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
