Home / Companies / Sauce Labs / Blog / Post Details
Content Deep Dive

Using Test-Kitchen for Local Testing

Blog post from Sauce Labs

Post Details
Company
Date Published
Author
Greg Sypolt
Word Count
812
Language
English
Hacker News Points
-
Summary

Test Kitchen is a self-service tool used for integration testing of Chef Cookbooks and isolating application bugs in a local environment. It allows users to test and debug their application or infrastructure code locally using virtual technologies, converging across various platforms such as CentOS, Ubuntu, Windows, and more. The test environments are defined in a single kitchen.yml file located inside the Chef cookbook source control repository. Test Kitchen uses two virtualization tools - Vagrant and VirtualBox - to deploy these different platforms locally. It also supports multiple Ruby testing frameworks from Bats, Minitest, Rspec, Serverspec, and more.