mardi 24 mars 2015

Determining if a test-kitchen test passed or failed

We have a script that looks something like this:



#!/bin/bash
for cookbook in $cookbooks; do
cd /path/to/$cookbook
kitchen test;
# Log whether the test failed or passed
done;

# Print number of tests passed and number of tests failed


How can I determine if my kitchen test passed or failed?


Aucun commentaire:

Enregistrer un commentaire