[rspec-users] dynamic specs

David Green justnothing at tiscali.co.uk
Fri Jun 15 09:08:21 EDT 2007



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
-- 
View this message in context: http://www.nabble.com/dynamic-specs-tf3927280.html#a11139116
Sent from the rspec-users mailing list archive at Nabble.com.



More information about the rspec-users mailing list