Treating infrastructure as code naturally opens the possibility of having automated tests for it. this article explores how you can use chefspec with chef.. This post is all about test driven infrastructure with chef: an overview in testing chef cookbooks for the current landscape. this post is focused on tools included. Chef cookbook testing and why write cookbook tests general philosophy for chef testing• unit tests• chefspec assertion for every resource of.

Chef cookbook testing and continuous integration

Dockercon - building a chef cookbook testing pipeline with

Dockercon - building a chef cookbook testing pipeline with
Verify chef cookbook with chefspec tests (aka unit testing) chefspec allows us to simulate the convergence of resources to prove that the cookbook code works. Readme.md chefspec. chefspec is a unit testing framework for testing chef cookbooks. chefspec makes it easy to write examples and get fast feedback on cookbook. Chef-cookbooks / community_cookbook delivery defines testing in phases and cookbooks utilize lint, syntax, and unit specially formulated for testing chef.