Functions for producing unit test results from bash scripts in junit or human-friendly formats