1Test::Reporter::TranspoUrste:r:FCiolnet(r3i)buted Perl DToecsutm:e:nRteaptoirotner::Transport::File(3)
2
3
4
6 Test::Reporter::Transport::File - File transport for Test::Reporter
7
9 version 1.62
10
12 my $report = Test::Reporter->new(
13 transport => 'File',
14 transport_args => [ $dir ],
15 );
16
18 This module saves a Test::Reporter report to the specified directory
19 (using the "write" method from Test::Reporter.
20
21 This lets you save reports during offline operation. The files may
22 later be uploaded using "Test::Reporter->read()".
23
24 Test::Reporter->new->read( $file )->send();
25
27 See Test::Reporter and Test::Reporter::Transport for general usage
28 information.
29
30 Transport Arguments
31 $report->transport_args( $dir );
32
33 This transport class must have a writeable directory as its argument.
34
36 These methods are only for internal use by Test::Reporter.
37
38 new
39 my $sender = Test::Reporter::Transport::File->new( $dir );
40
41 The "new" method is the object constructor.
42
43 send
44 $sender->send( $report );
45
46 The "send" method transmits the report.
47
49 • Adam J. Foxson <afoxson@pobox.com>
50
51 • David Golden <dagolden@cpan.org>
52
53 • Kirrily "Skud" Robert <skud@cpan.org>
54
55 • Ricardo Signes <rjbs@cpan.org>
56
57 • Richard Soderberg <rsod@cpan.org>
58
59 • Kurt Starsinic <Kurt.Starsinic@isinet.com>
60
62 This software is copyright (c) 2015 by Authors and Contributors.
63
64 This is free software; you can redistribute it and/or modify it under
65 the same terms as the Perl 5 programming language system itself.
66
67
68
69perl v5.36.0 2022-07-22Test::Reporter::Transport::File(3)