Your Infrastructure Code Deserves Tests Too

Get Started

What is Kitchen?

Kitchen provides a test harness to execute your infrastructure code on one or more platforms in isolation.

A driver plugin architecture is used which lets you run your code on various cloud providers and virtualization technologies such as Amazon EC2, Google GCE, Azure, Blue Box, CloudStack, Digital Ocean, Rackspace, OpenStack, Vagrant, Docker, LXC containers, and more.

Many testing frameworks are already supported out of the box including InSpec, Serverspec, or Bats

For Chef workflows, cookbook dependency resolution via Berkshelf or Policyfiles is supported or you can simply have a cookbooks/ directory and Kitchen will know what to do.

Kitchen is used by all Chef community cookbooks and is the integration testing tool of choice for cookbooks.

How do I run Kitchen?

There are five basic commands you'll use to provision platforms and test your infrastructure code.

How do I get started?

Most users can obtain Kitchen by installing the Chef Development Kit (ChefDK). Users may still install the gem directly with gem install test-kitchen.

Get Started