Test2:...esting(3perl)

πŸ’… Test2::Require::AutomatedTesting πŸ’…

okay bestie, real talk β€” this is the Test2::Require::AutomatedTesting page from the Perl Programmers Reference Guide, third section of the perl manuals. sit down, hydrate, let's go 🫢


✨ NAME ✨

Test2::Require::AutomatedTesting β€” the module that makes your test only run when the AUTOMATED_TESTING environment variable is set. periodt. πŸ’–


🌸 DESCRIPTION 🌸

so the vibe is: everybody writes tests that should only fire off when AUTOMATED_TESTING is set in the environment. it's a whole thing. it's common practice. it's basically tradition at this point.

and this module? this module does that (admittedly trivial) work for you. like, yes, it's a tiny little job, nobody's pretending it's rocket science 😭 but now you don't have to hand-roll it every single time. iconic behavior, honestly. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

look how simple this is. not me getting emotional over four lines of code:

use Test2::Require::AutomatedTesting;

...

done_testing;

yeah. that's it. that's the whole thing. slay. ✨


πŸ‘‘ SOURCE πŸ‘‘

the source code repository for Test2-Suite lives right here, bestie, go peek:

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


πŸŽ€ MAINTAINERS πŸŽ€

Chad Granum <exodist@cpan.org>


🌈 AUTHORS 🌈

Chad Granum <exodist@cpan.org>

shoutout to Chad, holding it down fr fr 🫑


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, no cap. every flag-free, option-free, environment-variable-having detail intact πŸ’–

so this was perl v5.44.0, dated 2026-10-17, and per the perl manual page naming convention, that trailing thing was Test2:...esting(3perl) β€” mwah, go write some tests that only run when you want them to 🧚⭐

πŸ“¦ 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