Test::...::Iface(3pm)
β¨ NAME β¨
Test::Run::CmdLine::Iface β bestie, this is the module that lets you analyze your tests straight from the command line using Test::Run. It's giving "I run your test files and I look cute doing it" π
Oh also hiii, you're reading a page from the User Contributed Perl Documentation section, and the manual name for this one is Test::...::Iface(3pm). Just so you know what you're looking at π«Ά
πΈ SYNOPSIS πΈ
use Test::Run::CmdLine::Iface;
my $tester = Test::Run::CmdLine::Iface->new(
{
'test_files' => ["t/one.t", "t/two.t"],
}
);
$tester->run();
That's literally it. Look at her go β¨
π Interface Functions π
π $tester = Test::Run::CmdLine::Iface->new({'test_files' => \@test_files, ....});
Okay so this is the constructor, and it initializes a brand new testing front end for you. test_files is a named argument, and it's the one holding the files you wanna test. No test_files, no tests, so likeβ¦ don't forget her π₯Ί
The other named arguments are:
backend_paramsβ a hash of named parameters that get passed along to the backend class (which is derived fromTest::Run::Obj, iykyk).driver_classβ this is the backend class that gets instantiated and used to actually do the processing. If you don't say anything, it defaults toTest::Run::CmdLine::Drivers::Default. She's the default for a reason πdriver_pluginsβ a list of plugin classes that the driver class is gonna use. Each plugin is a module and a corresponding class, and both of them are prefixed by"Test::Run::CmdLine::Plugin::"β which is a prefix you should not include in them. Yeah, the prefix is implied, don't @ me π
π¦ $tester->run()
This one actually runs the tests on the command line. That's the whole thing. She said what she said π
β BUILD
For Moose. That's it, that's the vibe.
TODO : Write more.
Not me leaving a TODO in the docs, but honestly? Iconic. We love a work in progress π
π AUTHOR π
Shlomi Fish, <http://www.shlomifish.org/> .
π 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>. Bestie, here's the deal: I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. Closed loop communication, we love to see it π«Ά
π§ ACKNOWLEDGEMENTS π§
(nothing here yet, but the section is holding space for it πΈ)
π COPYRIGHT & LICENSE π
Copyright 2005 Shlomi Fish, all rights reserved.
This program is released under the MIT X11 License. Slay, permissive licensing, we stan β¨
k bye bestie, go write some tests π this page came from perl v5.42.0, dated 2025-07-25, and it lives in the Test::...::Iface(3pm) era of things β take care of her πΈβ¨
π¦ where this page comes from
- fedora 43: perl-Test-Run-CmdLine 0.0132-15.fc43 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LicenseRef-Callaway-MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms