count successes and failures

This commit is contained in:
Thomas Levine 2012-10-11 00:56:18 -04:00
parent 51e1e54bcf
commit 43055117df
12 changed files with 36 additions and 0 deletions

3
tests/counting/.fixture/faila Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exit 1

3
tests/counting/.fixture/failb Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exit 1

3
tests/counting/.fixture/failc Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exit 1

3
tests/counting/.fixture/passa Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exit 0

3
tests/counting/.fixture/passb Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exit 0

3
tests/counting/.fixture/passc Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exit 0

3
tests/counting/.fixture/passd Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exit 0

3
tests/counting/.fixture/passe Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exit 0

3
tests/counting/.fixture/passf Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exit 0

3
tests/counting/.fixture/passg Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exit 0

3
tests/counting/seven_successes Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
../../urchin .fixture | grep '7 tests failed.'

3
tests/counting/three_failures Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
../../urchin .fixture | grep '3 tests passed.'