TEST2::MANUAL::ANATOMY::API(3pm)
β¨ NAME β¨
Test2::Manual::Anatomy::API β the internals doc for the API, bestie. This is the manual page for the anatomy of the API, lowkey the behind-the-scenes lore.
πΈ DESCRIPTION πΈ
Okay so this document covers some of the internals of Test2::API. Not all of them, some of them. Just so we're clear π
π¦ 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 are β like, regardless of how and where the global state is actually stored. The vibe stays, the implementation can shift π«Ά
This module itself does not store any state (with a few minor exceptions, bestie, don't come for me) β instead it relies on Test2::API::Instance to store state. Test2::API is really intended 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, fr fr β¨
π Test2::API::Instance
Test2::API::Instance is where the global state is actually managed. And this? This is an implementation detail, and it should not be relied upon. 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. So likeβ¦ don't build your whole personality on it π
Test2::API::Instance is fairly well documented, so no additional documentation is needed for this manual page. It's giving self-sufficient π
π SEE ALSO π
Test2::Manualβ the primary index of the manual. Start here, iykyk π
π₯ SOURCE π₯
The source code repository for Test2-Manual can be found at https://github.com/Test-More/test-more/. Go look, it's right there, slay π
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>
β AUTHORS β
- Chad Granum
<exodist@cpan.org>
π COPYRIGHT π
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 the whole page, bestie β no cap, every single detail preserved. mwah π
perl v5.42.3 πΈ 2026-11-03 π Test2::...omy::API(3pm) β that's the footer, we're done here, go forth and test π
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms