Speed of running a test suite in Rails
Posted
by Milan Novota
on Stack Overflow
See other posts from Stack Overflow
or by Milan Novota
Published on 2009-01-29T10:11:48Z
Indexed on
2010/03/26
14:53 UTC
Read the original article
Hit count: 164
testing
|ruby-on-rails
I have 357 tests (534 assertions) for my app (using Shoulda). The whole test suite runs in around 80 seconds. Is this time OK? I'm just curious, since this is one of my first apps where I write tests extensively. No fancy stuff in my app.
Btw.: I tried to use in memory sqlite3 database, but the results were surprisingly worse (around 83 seconds). Any clues here?
I'm using Macbook with 2GB of RAM and 2GHz Intel Core Duo processor as my development machine.
© Stack Overflow or respective owner