jasmine.TrivialConsoleReporter = function(print) { var ansi = { green: '\033[32m', red: '\033[31m', yellow: '\033[33m', none: '\033[0m' }; var defaultColumnsPerLine = 50; var language = { spec:"spec", assertion:"assertion", failure:"failure" }; function coloredStr(color, str) { return ansi[color] + str + ansi.none; } function greenStr(str) { return coloredStr("green", str); } function redStr(str) { return coloredStr("red", str); } function yellowStr(str) { return coloredStr("yellow", str); } function newline() { print("\n"); } function started() { print("Started"); newline(); } function greenDot() { print(greenStr(".")); } function redF() { print(redStr("F")); } function yellowStar() { print(yellowStr("*")); } function plural(str, count) { return count == 1 ? str : str + "s"; } function specFailureDetails(suiteDescription, specDescription, stackTraces) { newline(); print(suiteDescription + " " + specDescription); newline(); for(var i=0; i 0 && spec.description) suiteResult.failedSpecResults.push(spec); }); this.suiteResults.push(suiteResult); }; function eachSpecFailure(suiteResults, callback) { for(var i=0; i