[rspec-users] A smarter autospec?
matt at mattwynne.net
Sun Nov 9 12:13:09 EST 2008
On 9 Nov 2008, at 17:05, Fernando Perez wrote:
> Let's say I change a method in one of my models in a Rails app.
> I hit save: autospec kicks in and starts specing.
> But I haven't yet edited my spec(s) to the new method name so the
> will obviously fail, but I already know that. So I edit my specs.
> Autospec will run a second time (or even more if more than one spec
> is changed).
> But I haven't yet edited my controller(s) to reflect the new
> so I edit more files and save, therefore Autospec will run again.
> In such case (which happens often), autospec has been running a few
> times for nothing. Would it be possible to implement a sort of timeout
> (like 10") to let us make additional changes to other files before
> autospec starts his job? It's pretty annoying to have growl display
> plenty error messages as we already know specs will fail.
Personally, I draw great comfort from those error messages.
More information about the rspec-users