Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Test::Harness 2.99_01 Released

by Ovid (Cardinal)
on Sep 03, 2007 at 15:21 UTC ( #636740=perlnews: print w/replies, xml ) Need Help??

As many 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.


New address of my CGI Course.

Replies are listed 'Best First'.
Re: Test::Harness 2.99_01 Released
by tinita (Parson) on Sep 03, 2007 at 18:00 UTC
    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.
    actually you can just use CPAN:
    $ cpan cpan[1]> ls andya [...] 117943 2007-09-03 ANDYA/Test-Harness-2.99_01.tar.gz [...] cpan[2]> install ANDYA/Test-Harness-2.99_01.tar.gz

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlnews [id://636740]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2018-01-19 11:56 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (217 votes). Check out past polls.