* Ash Moran [2011-08-30]:
> I'm trying to optimise my spec run time. I have 123 examples so far,
> which run in ~4.2 seconds on average. But 116 of those will run in
> ~0.18 seconds. So, obviously, I only want to run the slow ones when I
> change that code.

I have a similar situation with the slow specs being integration specs
in a special directory. I tagged all those example groups and setup two
guards. The first is for unit tests and ignores all examples tagged
'integration' and doesn't watch spec/integration. The second guard just
watches spec/integration and runs only examples tagged 'integration'.
Haven't used it much yet, though.

cheers,

Nikolay
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to