[rspec-users] Conditionally turning some specs on and off depending on runtime platform

David Chelimsky dchelimsky at gmail.com
Fri Sep 26 09:50:21 EDT 2008


On Fri, Sep 26, 2008 at 8:42 AM, Wincent Colaiuta <win at wincent.com> wrote:
> El 26/9/2008, a las 14:59, "David Chelimsky" <dchelimsky at gmail.com>
> escribió:
>
>> On Thu, Sep 25, 2008 at 3:50 PM, Wincent Colaiuta <win at wincent.com> wrote:
>>>
>>> The following trick, calling "pending" from inside the before block,
>>> effectively does what I want. But I'm wondering if I can count on this
>>> behaviour going forward? What do you think?
>>
>> Pending is not going anywhere.
>
> I didn't think so... I was mostly concerned about the fact that I am
> (ab)using it by calling it from inside the "before" block...

That doesn't strike me as abuse :)

Though - we have talked about adding support for arbitrary tags which
could be exposed to the runner and let you do arbitrary things (like
only running examples with or without certain tags). Maybe, someday
...

>
> Cheers,
> Wincent
>
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list