Automated Tests

To maintain my sanity, and to drive good code design, Racing on Rails has several sets of tests.

After you’ve downloaded the code and run rake racing_on_rails:bootstrap, you can run the unit and functional tests the standard Rails way: rake at the command line. These tests should always run at 100%; I run them before every commit, and they test just about everything.

I don’t develop nor deploy on Windows, so I rarely check that things work on there.

There’s also a suite of Capybara tests, that test the application through a web browser. You can run these with rake test:acceptance