When you developing a complex feature which goes through all your architecture it's really important to run all tests as many times as possible.
A parallel tests in 200 LoC. The main benefits - all code are stuped simple, so it's easy to maintain and configure for another project.
It works via [overmind] (https://github.com/DarthSim/overmind), so you need to install it first
-
Copy any of
smoke_<n>.rake
files to your project -
Add ENV to your
database.yml
database: <%= ENV['DB_NAME'] %>_test<%= ENV['TEST_ENV_NUMBER'] %>
- Configure capybara server
Capybara.server_port = 9887 + ENV['TEST_ENV_NUMBER'].to_i
- Setup
rake smoke:create
rake smoke:prepare
- Run
rake smoke:run
It has a task for calibration, but I didn't found it very usefull. In my case it has some benefits, but didn't worth to spent a hour for calibration.