DevOps Zone is brought to you in partnership with:

Mitch Pronschinske is the Lead Research Analyst at DZone. Researching and compiling content for DZone's research guides is his primary job. He likes to make his own ringtones, watches cartoons/anime, enjoys card and board games, and plays the accordion. Mitch is a DZone Zone Leader and has posted 2577 posts at DZone. You can read more from them at their website. View Full User Profile

Ops Needs their own TDD: Test -Driven Infrastructure

10.20.2011
| 6724 views |
  • submit to reddit
The recently published book "Test-Driven Infrastructure with Chef" is not a proscriptive book as far as tooling, despite having "Chef" in the title.  John Arundel a sysadmin and architect just gave an awesome, to-the-point review of the book, which is that even though there's a debate raging over which is better, Puppet or Chef, there's one thing that most people agree on: Operations needs their own TDD.









If services are provisioned by programs, then we can - and should - test those programs. Further, we can write them in a test-driven style: start with the description of how the service should behave, and write a test that expresses this. Then write code that makes that test pass.

Nelson-Smith argues that this and other techniques from the school of Agile software development are of great benefit to systems administrators building modern automated infrastructures.  --John Arundel

The general message of this book is similar to what I'd heard in the Agile community when I attended Agile 2011.  The software development community has made incredible and innovative strides in process improvement, but now it's time to spread that innovation to other occupations.  The ops team, which the developers have to deal with regularly, are first on the list.

Source: http://bitfieldconsulting.com/review-test-driven-infrastructure-chef