Initial add with a couple of tests

This commit is contained in:
2012-12-19 22:54:17 -05:00
parent df24fc4e21
commit c380e0e193
5 changed files with 276 additions and 0 deletions

10
tests/junit.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
TESTDIR=$(dirname ${BASH_SOURCE})
. $TESTDIR/../lib/junit.sh
junit_header
junit_testcase "super::class" "someTest" 31337
junit_testcase "super::class" "someOtherTest" 31337 "generic failure" "Yo dawg, I heard you like failures" "This is some raw data, please read it"
junit_footer

10
tests/tunit.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
TESTDIR=$(dirname ${BASH_SOURCE})
. $TESTDIR/../lib/tunit.sh
tunit_header
tunit_testcase "super::class" "someTest" 31337
tunit_testcase "super::class" "someOtherTest" 31337 "generic failure" "Yo dawg, I heard you like failures" "This is some raw data, please read it"
tunit_footer