Test::A...:Method(3)
π NAME π
Test::Able::Role::Meta::Method β the Method metarole, bestie. It's giving "User Contributed Perl Documentation," and it's gonna change ur whole life (okay maybe just ur test methods, but still). β¨
πΈ DESCRIPTION πΈ
So here's the tea π: this metarole gets applied to the Moose::Meta::Method metaclass objects that represent methods in a Test::Able-based class or role. Like, every method in ur Test::Able situation gets this lil glow-up applied to it. π
And plot twist β it also pulls in Test::Able::Planner too. No cap. It just does. π¦
β¨ ATTRIBUTES β¨
typeβ the type of test method. For the full list of what's allowed, go look at"method_types"inTest::Able::Role::Meta::Class. That's where the menu is, babes. πdo_setupβ only relevant for methods of typetest, okay?? It's a boolean that says whether to run the associated setup methods. That's it, that's the whole vibe. π₯do_teardownβ same deal, only relevant for methods of typetest. Boolean, and it controls whether the associated teardown methods get run. πorderβ an integer value used to influence ordering of methods in the method lists. Defaults to0. Yes, zero. The most neutral number alive. π
ngl if u skip the type-specific ones (do_setup/do_teardown) on a non-testmethod, they're just... not the moment. They only matter for typetest. iykyk. π
π AUTHOR π
Justin DeVuyst, "justin@devuyst.com" β the icon, the legend, the moment. π«Ά
π 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. So like, go off, do ur thing, it's free fr fr. π§
and that's the whole page, bestie!! this was written against perl v5.42.0 on 2025-07-25 β mwah, slay, periodt, take care of urself and ur metaclass objects πβ¨π
π¦ 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