Test::A...:Helpers(3)
π Test::A...:Helpers π
okay so bestie, this is Test::Able::Helpers, a little gem from the User Contributed Perl Documentation corner of the universe β¨
πΈ NAME πΈ
Test::Able::Helpers β literally a whole collection of helper mixins and I'm obsessed π«Ά
β¨ SYNOPSIS β¨
use Test::Able::Helpers;
my $t = MyTest;
$t->shuffle_methods;
$t->run_tests;
see? three lines. that's the whole vibe. π
π¦ DESCRIPTION π¦
so Test::Able::Helpers is a collection of mixin methods that can be exported into the calling test class. no cap. they're here to make doing some things with Test::Able easier, because you deserve nice things. π
if you want actual example usages, go peek at Test::Able::Cookbook β that's where the receipts live. iykyk π
π METHODS π
π prune_super_methods
Removes any test-related methods from the associated method list if it's from a superclass β and by "from a superclass" we mean literally not from $self's class. so if it came from somewhere above you in the inheritance tree? gone. βοΈ
by default it does this for all test-related method types. but if you only wanna prune specific ones, you can optionally pass type names as args to limit which types get the treatment. your call, main character. π«Ά
π shuffle_methods
Randomizes the test-related method lists. yes. shuffles them. chaos but make it organized. π₯
by default it does this for all test-related method types. and again β type names can be optionally provided as args to limit what types this gets done for. π
π§ get_loop_plan
Calculates the plan for a test method when it's used in a "Loop-Driven" context. this assumes the setup and teardown method lists are being explicitly run as many times as the test method itself. β
it has two required args: the test method name, and the test count.
- the test method name is what's used to look up the plan of the test method itself π
- the test count is the number of times that test method is gonna be called π’
π AUTHOR π
Justin DeVuyst, "justin@devuyst.com" β absolute legend, we thank him for his service π
π COPYRIGHT AND LICENSE π
Copyright 2009 by Justin DeVuyst.
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. slay. π
and that's the whole page bestie, no gatekeeping π
sign-off time: this was perl v5.42.0, dated 2025-07-25, and it's the Test::A...:Helpers(3) manpage π¦β¨ mwah, go write some tests π
π¦ where this page comes from
- fedora 43: perl-Test-Able 0.11-41.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms