Adam J. Foxson > Test-Reporter-1.38 > Test::Reporter

Download:
Test-Reporter-1.38.tar.gz

Dependencies

Annotate this POD

Related Modules

CPAN::Reporter
Module::Build
XML::Twig
Data::Dumper
Test::Pod
Mail::Send
Mail::Mailer
IO::Stringy
Net::SMTP
IO::String
more...
By perlmonks.org

CPAN RT

New  4
Open  1
View/Report Bugs
Module Version: 1.38   Source   Latest Release: Test-Reporter-1.60

NAME ^

Test::Reporter - sends test results to cpan-testers@perl.org

SYNOPSIS ^

  use Test::Reporter;

  my $reporter = Test::Reporter->new();

  $reporter->grade('pass');
  $reporter->distribution('Mail-Freshmeat-1.20');
  $reporter->send() || die $reporter->errstr();

  # or

  my $reporter = Test::Reporter->new();

  $reporter->grade('fail');
  $reporter->distribution('Mail-Freshmeat-1.20');
  $reporter->comments('output of a failed make test goes here...');
  $reporter->edit_comments(); # if you want to edit comments in an editor
  $reporter->send('afoxson@cpan.org') || die $reporter->errstr();

  # or

  my $reporter = Test::Reporter->new(
      grade => 'fail',
      distribution => 'Mail-Freshmeat-1.20',
      from => 'whoever@wherever.net (Whoever Wherever)',
      comments => 'output of a failed make test goes here...',
      via => 'CPANPLUS X.Y.Z',
  );
  $reporter->send() || die $reporter->errstr();

DESCRIPTION ^

Test::Reporter reports the test results of any given distribution to the CPAN Testers. Test::Reporter has wide support for various perl5's and platforms. For further information visit the below links:

Test::Reporter itself--as a project--also has several links for your visiting enjoyment:

METHODS ^

CAVEATS ^

If you specify recipients to be cc'd while using send() (and you do not have Mail::Send installed) be sure that you use the author's @cpan.org address otherwise they may not be delivered, since the perl.org MX's are unlikely to relay for anything other than perl.org and cpan.org.

COPYRIGHT ^

Copyright (c) 2007 Adam J. Foxson. All rights reserved.

LICENSE ^

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

AUTHOR ^

Adam J. Foxson <afoxson@pobox.com> and Richard Soderberg <rsod@cpan.org>, with much deserved credit to Kirrily "Skud" Robert <skud@cpan.org>, and Kurt Starsinic <Kurt.Starsinic@isinet.com> for predecessor versions (CPAN::Test::Reporter, and cpantest respectively).

syntax highlighting: