Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 4250
Status: resolved
Priority: 0/
Queue: Test-Reporter

People
Owner: RSOD [...] cpan.org
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

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



Subject: wish: ability to cpantest to print message to STDOUT
I want to use cpantest on a system which appears not have outgoing mail working. I would like for it to have a feature to simply print the message to the terminal, so I can copy/paste to a mail client.
[guest - Thu Oct 30 15:26:21 2003]: Show quoted text
> I want to use cpantest on a system which appears not have outgoing > mail working. I would like for it to have a feature to simply print > the message to the terminal, so I can copy/paste to a mail client.
There is an easier way to accomplish this, for which functionality already exists. It will allow you to accomplish what you want, but if you find it somehow unsuitable, I'd be interested in hearing about it. The solution is to use the read() and write() methods of Test-Reporter-1.20, which were specifically designed for situations such as you describe (no local MTA, outbound port 25 blocked). Details on this is in the Test-Reporter-1.20 POD under the 'write and read' entry of the 'METHODS' section. The only caveat is that this functionality is available only progamtically via Test::Reporter and not by cpantest, the script.
[guest - Thu Oct 30 15:26:21 2003]: Show quoted text
> I want to use cpantest on a system which appears not have outgoing > mail working. I would like for it to have a feature to simply print > the message to the terminal, so I can copy/paste to a mail client.
The next release of cpantest, as part of Test::Reporter 1.23, supports the -dump option (which will print the final report to STDOUT instead of mailing it). - R.