Joel Purra: Developer and more


shunit2-colorize

Add colors to shUnit2 output.

Usage

#!/usr/bin/env bash

function testFailedColors () {
	assertEquals 'This will fail' 'true' 'false'
}

source "${BASH_SOURCE%/*}/shunit2-colorize.sh"

# Requires shUnit2.
# https://code.google.com/p/shunit2/
[[ -z $(which shunit2) ]] && { echo "shunit2 is required." >&2; exit 1; }
source shunit2 |& colorizeShUnit2

Kudos


License

Copyright (c) 2015 Joel Purra http://joelpurra.com/ All rights reserved.

When using shunit2-colorize, comply to the MIT license. Please see the LICENSE file for details.

hexagonifLegal