Running tests on deploy
I’m loving the Capistrano mailing list. Several times per week, someone will point out some new tip or trick that they are using with Capistrano, which blows me away.
Today, Chris McGrath posted a link to a blog article by rabble entitled Running Tests on Deploy with Capistrano. If you’ve ever wanted to have your tests automatically run when you deploy your app, and rollback if the tests fail, you ought to check it out. He’s even got a recipe for dealing with the case of multiple deployment targets, all of which want to run the tests simultaneously.