Overview
Test driven development is a popular concept in software development, leading to higher quality code that’s easier to maintain. Automated testing is normally a foreign concept in the operations world, but as you ssh into your servers to make that quick fix or run your updated script (fingers crossed), you might be wondering if there’s a better way. A way that gives you the confidence in your script and lets you test those scripts in isolation. Well Arthur has good news for you, there is a better way! Test driven infrastructure (TDI) is now possible. He knows, it sounds crazy.
At this session you’ll learn the how, and more importantly the why, of TDI. You’ll see how Chef (or any other Config Management framework) can be tested with Test Kitchen and ServerSpec. You’ll also learn how to improve your feedback cycle with Docker, and using the Docker approach on a CI server. There may even be some live demos!
Finally, the Ops world collides with the Dev world in true DevOps testing bliss.
Objective
Show how the concept of TDD can be extended to infrastructure code.
Target Audience
Any Developer and DevOps Engineer or anyone curious in this space.
Assumed Audience Knowledge
Basic coding knowledge, the presentation covers TDD and other topics.
Level
Beginner
Five Things Audience Members Will Learn
- What TDD is
- How TDD applies to infrastructure
- Test Kitchen as a tool for running infrastructure tests
- InSpec as a tool for writing infrastructure tests
- How to actually write and run infrastructure tests