Skip Menu |

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 11595
Status: resolved
Priority: 0/
Queue: Test-Harness

Owner: andy [...]

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.415 (Entity 5.415)
Subject: Provide T::H and TAP version to test scripts
X-RT-Original-Encoding: iso-8859-1
Content-Length: 477
Download (untitled) / with headers
text/plain 477b
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.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-17945-1193859642-437.11595-0-0 [...]>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 14
Fixed in 2.99.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to