Test::Reporter::Transport::File(3pm) | User Contributed Perl Documentation | Test::Reporter::Transport::File(3pm) |
Test::Reporter::Transport::File - File transport for Test::Reporter
version 1.62
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.
This lets you save reports during offline operation. The files may later be uploaded using "Test::Reporter->read()".
Test::Reporter->new->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.
$sender->send( $report );
The "send" method transmits the report.
This software is copyright (c) 2015 by Authors and Contributors.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2022-06-28 | perl v5.34.0 |