Subject: | Provide T::H and TAP version to test scripts |
A commonly reported "bug" is when Test::More makes use of no_plan but the output is parsed by an older version of Test::Harness. The resulting misparse by T::H looks like all tests failed.
It would be nice if Test::More could detect what version of Test::Harness it is running under and alter its behavior accordingly. The simplest way to do this would be for Test::Harness to provide two environment variables, TEST_HARNESS_VERSION and TAP_VERSION, when running the tests.