Fixed tunit.sh to report test counts and times automatically like junit does, moved the totals into the footer, and updated the readme

This commit is contained in:
2012-12-19 23:05:04 -05:00
parent 79e7086bb6
commit a80407c637
2 changed files with 25 additions and 27 deletions

View File

@@ -10,13 +10,12 @@ Example output
akesterson@akesterson-pc ~/source/upstream/git/shunit
$ bash tests/tunit.sh
==== 0 TESTS in 0 SECONDS : 0 ERRORS, 0 FAILURES ====
[super::class] someTest .... [OK]
[super::class] someOtherTest .... [FAILED]
generic failure : Yo dawg, I heard you like failures
This is some raw data, please read it
==== 2 TESTS in 0 SECONDS : 1 ERRORS, 1 FAILURES ====
akesterson@akesterson-pc ~/source/upstream/git/shunit
$ bash tests/junit.sh