Test::A...:Method(3)

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

πŸ’– 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" in Test::Able::Role::Meta::Class. That's where the menu is, babes. πŸŽ€
  • do_setup β€” only relevant for methods of type test, 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 type test. 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 to 0. Yes, zero. The most neutral number alive. 😌
ngl if u skip the type-specific ones (do_setup / do_teardown) on a non-test method, they're just... not the moment. They only matter for type test. iykyk. πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Justin DeVuyst, "justin@devuyst.com" β€” the icon, the legend, the moment. 🫢


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