I use a TDD approach to system administration and devops. I wrote a web app as an internal tool for this, and just finished a public MVP:
Here's my original blog post with my motivations:
https://robb.weblaws.org/2014/01/16/new-open-source-library-...