Test::...::Iface(3pm)

πŸ“¦
version 0.0132 Β· 2 versions
, in fedora 43

✨ 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 from Test::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 to Test::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 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