Test::Reporter::Transport::File - File transport for Test::Reporter
my $report = Test::Reporter->new( transport => 'File', transport_args => [ $dir ], );
This module saves a Test::Reporter report to the specified directory (using the write method from Test::Reporter.
write
This lets you save reports during offline operation. The files may later be uploaded using Test::Reporter->read().
Test::Reporter->read()
Test::Reporter->read( $file )->send();
See Test::Reporter and Test::Reporter::Transport for general usage information.
$report->transport_args( $dir );
This transport class must have a writeable directory as its argument.
These methods are only for internal use by Test::Reporter.
my $sender = Test::Reporter::Transport::File->new( $dir );
The new method is the object constructor.
new
$sender->send( $report );
The send method transmits the report.
send
David A. Golden (DAGOLDEN)
Ricardo Signes (RJBS)
Copyright (C) 2008 David A. Golden Copyright (C) 2008 Ricardo Signes All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
To install Test::Reporter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Reporter
CPAN shell
perl -MCPAN -e shell install Test::Reporter
For more information on module installation, please visit the detailed CPAN module installation guide.