NAME

Test::Run::CmdLine::Iface - Analyze tests from the command line using Test::Run

SYNOPSIS

use Test::Run::CmdLine::Iface;

my $tester = Test::Run::CmdLine::Iface->new(
    {
        'test_files' => ["t/one.t", "t/two.t"],
    }
);

$tester->run();

Interface Functions

$tester = Test::Run::CmdLine::Iface->new({'test_files' => \@test_files, ....});

Initializes a new testing front end. test_files is a named argument that contains the files to test.

Other named arguments are:

backend_params

This is a hash of named parameters to be passed to the backend class (derived from Test::Run::Obj.)

driver_class

This is the backend class that will be instantiated and used to perform the processing. Defaults to Test::Run::CmdLine::Drivers::Default.

driver_plugins

This is a list of plugin classes to be used by the driver class. Each plugin is a module and a corresponding class, that is prefixed by Test::Run::CmdLine::Plugin:: - a prefix which should not be included in them.

$tester->run()

Actually runs the tests on the command line.

BUILD

For Moose.

TODO : Write more.

AUTHOR

Shlomi Fish, <shlomif@iglu.org.il>

BUGS

Please report any bugs or feature requests to bug-test-run-cmdline@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Run-CmdLine. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2005 Shlomi Fish, all rights reserved.

This program is released under the MIT X11 License.