« Return to Thread: dynamic specs

Re: dynamic specs

by David Green :: Rate this Message:

Reply to Author | View in Thread

David Chelimsky-2 wrote:
>
> I can't think of a good way to do it with the existing tool-set,
> however it does bring up an interesting idea. Check this out and let
> me know what you think:
>
> http://pastie.caboo.se/70700
>
> It's not currently supported, but it solves the problem of
> parameterizing shared behaviours a bit more explicitly than the
> current magic of setting instance variables in before(:each).

Actually, looking at implementing this, it would require a complete
redesign of shared behaviours, and I don't see that happening any time
soon.

>
> WDYT?
>
shame. that would have been perfect. I'd have a go at it myself but don't think my programming quite up to standard (yet). Thanks anyway

 « Return to Thread: dynamic specs