~/talk

Chef Cookbook Testing Like a Pro

Talkat ChefConf 2017 · 2017-05-22..05-24· [serverless, devops-and-delivery]
slides:none on file

Automated cookbook testing pipeline uses Cookstyle (auto-fixes ~95%) and Foodcritic (≈87 rules) for linting, ChefSpec for unit tests, and Test Kitchen + InSpec for real integration runs; Delivery Local and Kitchen‑Dokken let CI (Travis) run full multi‑platform converges so a PR gets lint, unit, and integration checks in about five minutes. Kitchen‑Dokken and bento images require container hacks to mimic VMs but the workflow proves effective at catching repository, package and runtime failures before deploy.

AI-written summary · about

  1. 0:00The need for testing
  2. 6:36Linting your code
  3. 13:11Unit testing with ChefSpec
  4. 17:56Integration with Test Kitchen
  5. 20:46Verification with InSpec
  6. 24:20Automating the workflow
  7. 33:01Q&A and best practices
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.