Skip Menu |

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

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

People
Owner: andy [...] hexten.net
Requestors: ken [...] mathforum.org
Cc:
AdminCc:

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



To: Andy Lester <andy [...] petdance.com>
CC: Michael G Schwern <schwern [...] pobox.com>, Randy W.Sims <randys [...] thepierianspring.org>
From: Ken Williams <ken [...] mathforum.org>
Subject: Redirect T::H output to a filehandle of one's choosing
Date: Fri, 30 Dec 2005 23:14:05 -0600
Hi Andy, Here's a patch for Test::Harness that adds the ability to send test output to a filehandle of one's choosing. It does so by exposing two internal functions, execute_tests() and get_results() (formerly _run_all_tests() and _show_results()). I believe this change will allow CPANPLUS's error reports to work properly with Module::Build - currently the test output goes directly to STDOUT and STDERR, and CPANPLUS doesn't have a chance to capture it and put it in its error reports. The patch is against the 2.57_01 release. Let me know if you have any questions or don't like the approach. Thanks, -Ken

Message body is not shown because sender requested not to inline it.

I believe the new interface provided by 2.99 obsoletes this, thanks.