Test-kitchen workflow

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

Cheers,
Torben