The maze book for programmers!

Algorithms, circle mazes, hex grids, masking, weaving, braiding, 3D and 4D grids, spheres, and more!

DRM-Free Ebook

The Buckblog

assorted ramblings by Jamis Buck

Running tests on deploy

5 October 2006 — 1-minute read

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.

Good stuff!