forked from le0pard/chef_book
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtesting_cookbooks.tex
More file actions
16 lines (12 loc) · 856 Bytes
/
testing_cookbooks.tex
File metadata and controls
16 lines (12 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
\chapter{Testing Cookbooks}
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.