1Test::Run::CmdLine::IfaUcsee(r3)Contributed Perl DocumenTteastti:o:nRun::CmdLine::Iface(3)
2
3
4
6 Test::Run::CmdLine::Iface - Analyze tests from the command line using
7 Test::Run
8
10 use Test::Run::CmdLine::Iface;
11
12 my $tester = Test::Run::CmdLine::Iface->new(
13 {
14 'test_files' => ["t/one.t", "t/two.t"],
15 }
16 );
17
18 $tester->run();
19
21 $tester = Test::Run::CmdLine::Iface->new({'test_files' => \@test_files,
22 ....});
23 Initializes a new testing front end. "test_files" is a named argument
24 that contains the files to test.
25
26 Other named arguments are:
27
28 backend_params
29 This is a hash of named parameters to be passed to the backend
30 class (derived from Test::Run::Obj.)
31
32 driver_class
33 This is the backend class that will be instantiated and used to
34 perform the processing. Defaults to
35 Test::Run::CmdLine::Drivers::Default.
36
37 driver_plugins
38 This is a list of plugin classes to be used by the driver class.
39 Each plugin is a module and a corresponding class, that is prefixed
40 by "Test::Run::CmdLine::Plugin::" - a prefix which should not be
41 included in them.
42
43 $tester->run()
44 Actually runs the tests on the command line.
45
46 BUILD
47 For Moose.
48
49 TODO : Write more.
50
52 Shlomi Fish, <http://www.shlomifish.org/> .
53
55 Please report any bugs or feature requests to
56 "bug-test-run-cmdline@rt.cpan.org", or through the web interface at
57 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Run-CmdLine>. I
58 will be notified, and then you'll automatically be notified of progress
59 on your bug as I make changes.
60
63 Copyright 2005 Shlomi Fish, all rights reserved.
64
65 This program is released under the MIT X11 License.
66
67
68
69perl v5.30.1 2020-01-30 Test::Run::CmdLine::Iface(3)