Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Devopsdays Vancouver 2013 - Test Kitchen

Devopsdays Vancouver 2013 - Test Kitchen

We've come a long way with infrastructure as code and are getting closer to better test frameworks and facilities. Test Kitchen was originally developed with Chef in mind, but it is now becoming a standard across different configuration management tools.

This talk will focus on how Test Kitchen can help you shorten the feedback cycle during the development of infrastructure code and discover how it plays nice with other existing tools like ChefSpec, RSpec Puppet, and Vagrant.

Learn about unit and smoke testing infrastructure as code in a Test Driven Development (TDD) cycle. Besides the technology we will look into the benefits of this faster feedback cycle and the current/future state of infrastructure as code testing.

Fletcher Nichol

October 26, 2013
Tweet

More Decks by Fletcher Nichol

Other Decks in Technology

Transcript

  1. Ah.

  2. A test harness tool to execute your configured code on

    one or more platforms in isolation
  3. commit fda10bb71cc45c7eebeb4355f8dafa2b55f00709 Author: Fletcher Nichol <[email protected]> Date: Sat Dec 1

    10:51:52 2012 -0700 Jamie: A Chef Convergence Integration Test Harness. Also, what the heck I am getting into here?
  4. commit c8303426363a50a08137e518e124dad31facb9f1 Author: Fletcher Nichol <[email protected]> Date: Mon Jan 28

    22:22:08 2013 -0700 Thank you Jamie, hello Test Kitchen. This is a first-pass renaming of the Jamie project to test-kitchen. The following are major breaking changes: * all constant references of `Jamie` have been renamed to `Kitchen` * the .jamie.yml file has been renamed to .kitchen.yml * the binary bin/jamie has been renamed to bin/kitchen * the Rake task namespace :jamie is now :kitchen * the Thor task namespace :jamie is now :kitchen * the `kitchen new_plugin` subcommand will create a 'kitchen-*' gem project
  5. Test Kitchen runs suites on target platforms as instances using

    drivers and lets you optionally run tests on them to verify state
  6. Credits! • http://www.flickr.com/photos/michaelschiltz/4993352001/ • http://www.flickr.com/photos/nazly/6867975450/ • http://www.flickr.com/photos/jpdaigle/59942231/ • http://www.flickr.com/photos/absent/2157057475/ •

    http://www.flickr.com/photos/adampenney/2424992539/ • http://www.flickr.com/photos/robboudon/6035265163/ • http://www.flickr.com/photos/waferboard/4659835234/ • http://www.flickr.com/photos/28096801@N05/4916430883/ • http://www.flickr.com/photos/brandonshigeta/4374998947/ • http://www.flickr.com/photos/legin101/5210511841/ • http://www.flickr.com/photos/hoteldelapaixgeneve/ 5592080585/ • http://www.flickr.com/photos/the_eggwhite/8136644446/ • http://www.flickr.com/photos/34667924@N08/3853027446/ • http://www.flickr.com/photos/seattlemunicipalarchives/ 6871310641/ • http://www.flickr.com/photos/nasamarshall/7698035402/ • http://www.flickr.com/photos/pankseelen/6339570829/ • http://www.flickr.com/photos/fnichol/galleries/ 72157636856466494/ • http://www.flickr.com/photos/51342261@N08/5478506479/ • http://www.flickr.com/photos/parkeyparker/4316936774/ • http://www.flickr.com/photos/swfphotos/7498333224/ • http://www.flickr.com/photos/mcdarius/8524417604/ • http://www.flickr.com/photos/bamboo-adventure/ 3530133273/ • http://www.flickr.com/photos/robboudon/6035816980/