testing - Speed of running a test suite in Rails -


There are 357 tests (534 accused) for my app (using Shoulda) The entire trial suite runs in approximately 80 seconds . Is this time right? I'm just curious, because this is one of my first applications, where I write a test on a large scale. There is no fancy stuff in my app.

BTW.: I tried to use the memory sclete 3 database, but the results were surprisingly bad (about 83 seconds). Is there a clue here?

I am using a MacBook with 2 GB RAM and 2 GHz Intel Core Duo processors, like my development machine.

I do not think this question is special in the train, so I can go in.

The main thing about testing is that it should be sufficient enough for you to run them a lot (like, all the time). In addition, you may want to split your tests into a few different sets, especially things like 'long-standing tests' and 'unit testing'.

Consider the last option, if your database setup is time consuming,

good luck!

You can create your own domain by reinstalling it from backup.

Comments