I'm working on HTML unit tests (using Culerity) against a Ruby on Rails application. To do this, here's the steps needed
* Checkout sources
* start web server in source directory
* wait until it's running
* run the Cucumber Test suite (which uses Celerity / HTMLUnit to hit the web server) using the Rake Runner
* shut down web server
What's the best way to handle this with TeamCity? I tried to create 3 different steps (start server, run tests, stop server) but I'm not convinced that this is the best way to handle it.
Any ideas / pointers on how best to run a scenario like this?