Test speed seems to be a perennial issue for our team.<div><br></div><div>Currently running a single spec file in our rails (v3.0, running under REE) app takes about 20 seconds and running a single cucumber scenario 30+ seconds. This is too slow for comfortable test driven development/design.</div>
<div><br></div><div>We've recently started using the spec_no_rails pattern (as outlined by Corey Haines here <a href="http://www.confreaks.com/videos/641-gogaruco2011-fast-rails-tests">http://www.confreaks.com/videos/641-gogaruco2011-fast-rails-tests</a>) to avoid loading rails, in some of our specs. This has enabled us to run some of our specs in couple of seconds (i.e. fast enough). However this currently only applies to the small subset of our specs that we have isolated from rails. We'd like it if all our tests ran this fast.</div>
<div><br></div><div>How fast are your tests/specs/cucumber? Are they fast enough for you? If they are, what have you done to make this so?</div><div><br></div><div>J.</div><div><br></div><div>--<br>Joel Chippindale<br>CTO - <a href="http://econsultancy.com">http://econsultancy.com</a> <br>
<br></div><div><br></div><div><br></div>