Automating Litmus tests at Yahoo!0
Tyler Hall wrote to tell us how his team at Yahoo! is using Litmus as part of their deployment process. I think it’s a fascinating example of how to use Litmus. Note that it is fairly technical and involves some manual configuration, though.
Tyler’s PHP script (which is available on GitHub) automates the process of starting a browser test on Litmus. He’s set this up as a deployment task in Capistrano, which they’re using to deploy their site to their staging and production environments.
Each time they deploy a new version of their site, their script triggers a Litmus test of their pages, using the A-grade browsers recommended by Yahoo.
He explains that these automated tests are useful for a number of reasons…
It starts the test faster, so by the time we get around to checking the results, they’re complete or nearly done.
Perhaps more importantly, this provides a visual history of our changes. All of our code is in SVN, of course, but SVN doesn’t help when your boss asks “when did that background color change?” or “are you sure the site was working on April 23rd?”. Having a log of what our sites looked like for each revision/push is invaluable.
We use SVN and Capistrano at Litmus to deploy our site, so I’m going to use this script to save myself time when we make design changes.
My thanks to Tyler for sharing the script and his process for testing at Yahoo. If anyone else has any interesting ways they’re using Litmus please email me or leave a comment here. I’d love to hear about them.