This makes it more painful to use than needs be in the case where one has a single "reports" dir that contains files of many types (junit xml files, tap files and whatever else)
$ tappy .
......
----------------------------------------------------------------------
Ran 6 tests in 0.000s
OK
$ cat *
1..3
ok 1 - Input file opened
ok 2 - First line of the input valid
ok 3 - Read the rest of the file
1..3
ok 1 - Input file opened
ok 2 - First line of the input valid
ok 3 - Read the rest of the file
$ ll
total 136
drwxrwxr-x 2 tsampson tsampson 4096 Jun 22 10:59 .
-rw-rw-r-- 1 tsampson tsampson 100 Jun 22 10:59 2.tap
-rw-rw-r-- 1 tsampson tsampson 100 Jun 22 11:02 1.tap
drwxrwxrwt 36 root root 122880 Jun 22 11:09 ..
$ touch random.junit.xml
$ tappy .
......F
======================================================================
FAIL: <file=./random.junit.xml>
Missing a plan.
----------------------------------------------------------------------
----------------------------------------------------------------------
Ran 7 tests in 0.000s
FAILED (failures=1)
Arguably tappy shouldn't be trying to parse an xml file as a tap file. One could argue that the user should filter non-tap-files out but this makes calling tappy with a dir less useful than it might otherwise be.