[rspec-users] [cucumber] getting scenario name in hook

Tim Walker walketim at gmail.com
Wed Mar 11 20:12:58 EDT 2009


That did the trick. Thanks Aslak! Took a little while to figure out
where it was in the Scenario object but it was pretty straight forward
from there.

T

On Wed, Mar 11, 2009 at 10:21 AM, aslak hellesoy
<aslak.hellesoy at gmail.com> wrote:
>
>
> On Wed, Mar 11, 2009 at 4:12 PM, Tim Walker <walketim at gmail.com> wrote:
>>
>> Hi Guys,
>>
>> If I am generating diagnostics from a before do step can I get the
>> name of the scenario?
>
> This is implemented in 0.1.99.x:
> http://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/44
>
> Aslak
>
>>
>> Many thanks,
>>
>> Tim
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list