TEST2::REQUIRE::EXTENDEDTESTING(3perl)

✨ NAME ✨

Test2::Require::ExtendedTesting β€” bestie, this one only runs a test when the EXTENDED_TESTING environment variable is set. That's the whole vibe. πŸ’…


🌸 DESCRIPTION 🌸

okay so real talk: it's like, extremely common practice to write tests that only run when the EXTENDED_TESTING environment variable is set. everyone does it. it's a thing.

and this module? it automates that work for you. which, yeah, admittedly it's trivial work β€” the module itself says so, no cap 😭 β€” but like, why do the trivial thing yourself when you could simply not? main character energy fr fr. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

use Test2::Require::ExtendedTesting;

...

done_testing;

that's it. that's the whole thing. obsessed. ✨


πŸ’– SOURCE πŸ’–

the source code repository for Test2-Suite lives at https://github.com/Test-More/test-more/ β€” go peek, it's giving open source excellence. 🫢


πŸ‘‘ MAINTAINERS πŸ‘‘

  • Chad Granum <exodist@cpan.org>

carrying this whole thing on his back, we love to see it. πŸ”₯


🌈 AUTHORS 🌈

  • Chad Granum <exodist@cpan.org>

yeah same person, the icon, the legend. ⭐


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/


bestie if you're using this to gate your tests behind EXTENDED_TESTING, congrats, you're doing it right. πŸ’œ

okay that's the page!! this was perl v5.44.0, dated 2026-10-17, from the Test2:...Testing(3perl) manual β€” tysm for reading, mwah, go take a vibe check and run your tests πŸ’–βœ¨πŸŒΈ

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