logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

       •   Adam J. Foxson <afoxson@pobox.com>

       •   David Golden <dagolden@cpan.org>

       •   Kirrily "Skud" Robert <skud@cpan.org>

       •   Ricardo Signes <rjbs@cpan.org>

       •   Richard Soderberg <rsod@cpan.org>

       •   Kurt Starsinic <Kurt.Starsinic@isinet.com>

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();

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.

Name

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

Synopsis

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

Usage

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

   TransportArguments
           $report->transport_args( $dir );

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

Version

       version 1.62

See Also