coverage: some more tests on corner cases of TAP support
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 19 Aug 2011 14:47:12 +0000 (16:47 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 20 Aug 2011 10:28:27 +0000 (12:28 +0200)
commit40705c5cc5898ff924fea0c6f54f8953205a630d
treeef2ffb1b0d8362c2f3a29c072e2b91b66b32fd14
parent271343d8ef023b9891d9b06bce5e62268f8b50e5
coverage: some more tests on corner cases of TAP support

* tests/tap-no-spurious.test: Extend checks verifying that a line
matching, say, the regex "^ok[a-zA-Z0-9_]" is *not* considered a
TAP result.
* tests/tap-no-spurious-numbers.test: New test, checking that our
TAP driver doesn't spuriously recognize as TAP result numbers what
is not (even if it seems pretty close).
* tests/tap-negative-numbers.test: New test, checking that our
TAP driver doesn't spuriously recognize negative TAP result
numbers, but correctly interprets them as test descriptions
instead.
* tests/tap-plan-leading-zero.test, tap-numbers-leading-zero.test:
New tests, checking how our driver fares in recognizing numbers
with leading zeroes in TAP results or TAP plans.
* tests/tap-planskip-malformed.test: New test, checking that a
malformed TAP plan is not recognized as a valid plan.
* tests/tap-plan-whitespace.test: New test, checking that a TAP
plan line with trailing whitespace is recognized and handled
correctly.
* tests/Makefile.am (tap_with_common_setup_tests): Update.
ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/tap-negative-numbers.test [new file with mode: 0755]
tests/tap-no-spurious-numbers.test [new file with mode: 0755]
tests/tap-no-spurious.test
tests/tap-numbers-leading-zero.test [new file with mode: 0755]
tests/tap-plan-leading-zero.test [new file with mode: 0755]
tests/tap-plan-malformed.test [new file with mode: 0755]
tests/tap-plan-whitespace.test [new file with mode: 0755]