[rspec-users] [Cucumber] Fail a scenario from After or AfterStep
aslak.hellesoy at gmail.com
Wed May 20 04:33:29 EDT 2009
> On 20 May 2009, at 00:04, aslak hellesoy wrote:
>>> Any further thoughts on this, Aslak? I'd prefer to go with a solution in
>>> line with the future direction of Cucumber if possible.
>> Sorry, forgot to get back to you Luke.
>> I'm convinced. We'll add an AfterStep hook. Do you want to give a stab
>> at a patch? Start by writing a feature - see
>> features/after_block_exceptions.feature for a good example of the
>> style we like...
> Can I make a mild plea for After(:step) rather than AfterStep? I think it
> looks nicer and it's one less method added to the API...
That would be confusing, since After already takes arguments (tags).
> Matt Wynne
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users