[chef] test-kitchen workflow


Chronological Thread 
  • From: Torben Knerr < >
  • To:
  • Subject: [chef] test-kitchen workflow
  • Date: Mon, 20 Aug 2012 09:44:49 +0200

Ohai Chefs,

trying to understand what kind of tests are executed in which phase,
and when the Vagrant VMs are started, I have tried to write down the
workflow of the test runner in pseudo code.

Is this roughly what it does?

for each cookbook in Kitchenfile
   -> run "preflight" commands (default: knife cookbook test & foodcritic)
   -> run "script" commands (default: rspec spec)
   for each "platform" and "version" in Kitchenfile
      for each "configuration"
         -> spin up a vagrant VM and converge node,
             run minitest-chef-handler at the end of the chef run
         -> run cucumber features tagged with <configuration>


Cheers,
Torben


  • [chef] test-kitchen workflow, Torben Knerr, 08/20/2012

Archive powered by MHonArc 2.6.16.

§