Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Monday September 03, 2007
10:19 AM

Test::Harness 2.99_01

[ #34324 ]

As most of you know, Andy Armstrong, Eric Wilhelm, Leif Eriksen and myself have been working hard to get the new version of Test::Harness out there (Michael Peters, also, but that's for TAP archives for Smolder). You can now download Test::Harness 2.99_01 from the CPAN. Since it's a developer release, you won't get it if you upgrade in CPAN or CPANPLUS. You have to download and install manually. Please don't do this unless you know how to downgrade Test::Harness if things go wrong :)

Currently, I believe all Test::Harness bugs (out of 46 in the RT queue) are fixed. However, that just means we'll probably find 46 new bugs. For almost everyone, the intent is that the change should be completely transparent. However, there are three significant backwards-compatibility issues:

  1. In-header TODO tests no longer supported (but you probably never heard of them).
  2. Test::Harness::Straps is dead, dead, dead.
  3. Output format is altered slightly to present more information.

Test::Harness::Straps is going away by almost unanimous consensus on Perl-QA because it is difficult to work with and relies on knowledge of the Test::Harness internals. You can read chromatic's review of TAP::Parser when he wanted an alternative to Test::Harness::Straps.

The output format changes breaks CPAN::Reporter and causes spurious failure reports (if you're using that module). That's because the old Test::Harness didn't provide rich information and screen-scraping was used to get results. Someone needs to patch CPAN::Reporter to use the new APIs.

You can send bug reports via RT or join the TAP developers mailing list.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • For those following along, CPAN::Reporter doesn't use Test::Harness directly, but instead only has access to the output of "make test". So any change to output from Test::Harness is a potential point of breakage. Both sides have known this for a while and have accepted it as a cost of moving forward with the rewrite of Test::Harness.

    Discussions of how to harmonize the communication between the two have been ongoing. As soon as the Test::Harness format stabilizes or another communication channel is deve