You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Knowing how to write good cookbooks insufficient if its will not be covered by tests. Like in any good software products, cookbook tests avoid bugs, mistakes in code, which is very important. In this chapter we look at the tools that help us test Chef cookbooks.
\input{testing_cookbooks/test-types}
\input{testing_cookbooks/chefspec}
\input{testing_cookbooks/fauxhai}
\input{testing_cookbooks/test-kitchen}
\input{testing_cookbooks/chef-zero}
\input{testing_cookbooks/minitest}
\input{testing_cookbooks/cucumber}
\input{testing_cookbooks/analysis-and-linting}
\section{Summary}
Chef cookbook testing is very important part of cookbook development. Testing process allow for developers and devops to be sure, what important parts of cookbook working as expected and new updated and features will not break cookbook workflow.