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: 3893
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: support for 'from' addreses in cpantest
Thanks for your work on Test::Reporter. I think making test reporting easier with this module will increase the overall quality of CPAN. I have wishlist item for 'cpantest'. I would like it support setting the 'from' address. I realize Test::Reporter can "come up with something", but it may not automatically figure a useful address. For example, I may installing a module as root, but don't get root's mail, or I may be working on an account on a remote machine that does not have mail forward back to me. Part of the value of the testing system is the ability of the module author to get back in touch with the test to ask follow-up questions. In some cases it may be difficult for cpantest to facilitate this if this feature is not added. I thought a flag like "-e" for 'email' or '--from" might make sense. Thanks! Mark
[guest - Sun Sep 28 11:03:01 2003]: Show quoted text
> Thanks for your work on Test::Reporter. I think making test reporting > easier with this module will increase the overall quality of CPAN. > > I have wishlist item for 'cpantest'. I would like it support setting > the 'from' address. I realize Test::Reporter can "come up with > something", but it may not automatically figure a useful address. > > For example, I may installing a module as root, but don't get root's > mail, or I may be working on an account on a remote machine that does > not have mail forward back to me. > > Part of the value of the testing system is the ability of the module > author to get back in touch with the test to ask follow-up questions. > > In some cases it may be difficult for cpantest to facilitate this if > this feature is not added. > > I thought a flag like "-e" for 'email' or '--from" might make sense. > > Thanks! > > Mark
Mark, Thanks for the suggestion. Test-Reporter-1.20 indeed already has support for this through the use of the MAILADDRESS environmental variable (courtesy of MailTools' Mail::Util, which Test::Reporter makes use of). Just set MAILADDRESS to an e-mail address and that's what the test report's 'from' address will be reported as. Again, thank you. Fox
[mark@summersault.com - Sun Sep 28 11:49:37 2003]: Show quoted text
> Great! Could this be added to cpantest POD and 'usage' text, so it can > easily be discovered? > > I read both sets of documentation and was unaware this possibility > existed.
Yes, indeed. This information will be added to the appropriate places within the POD for the next release. Fox.
[FOX - Sun Sep 28 12:24:38 2003]: Show quoted text
> [mark@summersault.com - Sun Sep 28 11:49:37 2003]: >
> > Great! Could this be added to cpantest POD and 'usage' text, so it
> can
> > easily be discovered? > > > > I read both sets of documentation and was unaware this possibility > > existed.
> > Yes, indeed. This information will be added to the appropriate places > within the POD for > the next release.
I've added a command line option to cpantest, -F from@address.com. It'll be on CPAN as part of Test::Reporter 1.23 shortly. - R.