Can rails test speed be increased?

Posted by Sam on Stack Overflow See other posts from Stack Overflow or by Sam
Published on 2010-03-22T17:36:24Z Indexed on 2010/03/22 17:41 UTC
Read the original article Hit count: 285

Filed under:
|

Hi all, I'm a recent convert to TDD but as my codebase grows in size and complexity, I find myself waiting longer and longer periods for the framework to load every time I want to run a test.

I am aware of rspec's spec_server but I'm using Test::Unit with shoulda. I tried Snailgun (http://github.com/candlerb/snailgun) but noticed very little increased in speed. I have also tried spork-testunit (http://github.com/timcharper/spork-testunit) but it's not fully compatible with my existing tests.

The delay in running tests is a definite pain point and is putting me of TDD (at least with rails). Is anyone aware of any other options?

thanks Sam

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about unit-testing