Tests output invalid TAP
The tests call various functions that output to $*OUT
. This results in output like this:
1..1
1..12
ok 1 - META6.json does not contain First yet
Added module First to Local::Test::Touch::Lib::Unit.
ok 2 - First exists in META6.json<provides>
ok 3 - First provides the correct path
ok 4 - First.pm6 exists
ok 5 - META6.json does not contain Second::Level yet
Added module Second::Level to Local::Test::Touch::Lib::Unit.
ok 6 - Second::Level exists in META6.json<provides>
ok 7 - Second::Level provides the correct path
ok 8 - Level.pm6 exists
ok 9 - META6.json does not contain Third::Level::Test yet
Added module Third::Level::Test to Local::Test::Touch::Lib::Unit.
ok 10 - Third::Level::Test exists in META6.json<provides>
ok 11 - Third::Level::Test provides the correct path
ok 12 - Test.pm6 exists
ok 1 - Touch unit files
This is not valid TAP as the subtest is interwoven with the application output. prove5 accepts it because it doesn't even try to parse subtest (it would ignore everything but the first and the last line in this example). prove6/TAP::Harness
6 on the other hand does care, as it does parse the subtests (and will soon display information derived from it on failure).