Test::Reporter::TranspUser:Contributed PerlTest::Reporter::Transport::File(3p)



NAME
       Test::Reporter::Transport::File - File transport for Test::Reporter

SYNOPSIS
           my $report = Test::Reporter->new(
               transport => 'File',
               transport_args => [ $dir ],
           );

DESCRIPTION
       This module saves a Test::Reporter report to the specified directory
       (using the "write" method from Test::Reporter.

       This lets you save reports during offline operation.  The files may
       later be uploaded using "Test::Reporter->read()".

           Test::Reporter->new->read( $file )->send();

USAGE
       See Test::Reporter and Test::Reporter::Transport for general usage
       information.

   Transport Arguments
           $report->transport_args( $dir );

       This transport class must have a writeable directory as its argument.

METHODS
       These methods are only for internal use by Test::Reporter.

   new
           my $sender = Test::Reporter::Transport::File->new( $dir );

       The "new" method is the object constructor.

   send
           $sender->send( $report );

       The "send" method transmits the report.

AUTHOR
       o   David A. Golden (DAGOLDEN)

       o   Ricardo Signes (RJBS)

COPYRIGHT
        Copyright (C) 2008 David A. Golden
        Copyright (C) 2008 Ricardo Signes

        All rights reserved.

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



perl v5.12.2                      2008-09-2Test::Reporter::Transport::File(3p)
