TEST2::MANUAL::ANATOMY::API(3perl)

✨ Test2::Manual::Anatomy::API ✨

okay bestie, welcome to Test2::Manual::Anatomy::API β€” the internals documentation for the API. this is the perl programmers reference guide btw, so you know it's the real deal πŸ’…


🌸 DESCRIPTION 🌸

so this doc covers some of the internals of Test2::API. like, the behind-the-scenes lore. the gossip. the anatomy class of it all πŸ’–


🫢 IMPLEMENTATION DETAILS 🫢

πŸŽ€ Test2::API πŸŽ€

Test2::API gives you a functional interface to any test2 global state. and the whole point is that this API should be preserved no matter what the internal details of how and where that global state is stored look like. the vibes of the outside stay the same even if the inside gets a glow-up ✨

this module itself does not store any state β€” with a few minor exceptions, king of "I'm not involved but also kind of am" β€” and instead it relies on Test2::API::Instance to store state. fr fr.

this module is really meant to be the layer between the consumer and the implementation details. ideally the implementation details can change any way they like, and this module can be updated to use the new details without breaking anything. that's the dream. that's the goal πŸ¦‹

πŸ’œ Test2::API::Instance πŸ’œ

Test2::API::Instance is where the global state is actually managed. this is an implementation detail, and it should not be relied upon. periodt.

like, it is entirely possible that Test2::API::Instance could be removed completely, or changed in incompatible ways. really these details are free to change so long as Test2::API is not broken πŸ’€

good news though: Test2::API::Instance is fairly well documented, so no additionally documentation is needed for this manual page. she already said what she said, we're not repeating it 🌸


πŸ‘€ SEE ALSO πŸ‘€

  • Test2::Manual β€” Primary index of the manual.

πŸ“ SOURCE πŸ“

the source code repository for Test2-Manual can be found at:

https://github.com/Test-More/test-more/

go look. it's giving open source icon behavior 🌈


πŸ‘‘ MAINTAINERS πŸ‘‘

  • Chad Granum <exodist@cpan.org>

🧚 AUTHORS 🧚

  • Chad Granum <exodist@cpan.org>

Copyright Chad Granum <exodist@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/


and that's a wrap bestie! πŸŽ€ this was perl v5.44.0, dated 2026-10-17, and yes queen, Test2::Manual::Anatomy::API(3perl) ate and left no crumbs πŸ’…βœ¨

πŸ“¦ where this page comes from
  • arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms