TEST2::REQUIRE::NONINTERACTIVETESTING(3perl)

πŸ‘‘ NAME πŸ‘‘

Test2::Require::NonInteractiveTesting β€” bestie, this is the little module that goes "mmm, only run me if NONINTERACTIVE_TESTING is set, k thanks πŸ’…". It lives in the <3perl> manual section, iykyk.


✨ DESCRIPTION ✨

okay so real talk: it is extremely common practice to write tests that only get run when the NONINTERACTIVE_TESTING environment variable is set. Like, everyone does it, it's a whole thing. πŸ¦‹

And this module? It automates the (admittedly trivial, no cap) work of creating such a test. That's it. That's the whole vibe. It's giving "I did the tiny boring bit so you don't have to" and honestly? Obsessed. πŸ’–

ngl the work here is trivial β€” the module literally says so β€” but it's still your bestie doing it for you, so 🫢.

🌸 SYNOPSIS 🌸

use Test2::Require::NonInteractiveTesting;

...

done_testing;

that's it bestie, that's the whole thing. Slay. ✨


πŸ”₯ SOURCE πŸ”₯

The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/ β€” go peek, the lore is all there. πŸ‘‘


πŸ’œ 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/


okay that's the whole page, mwah πŸ’‹ this one shipped as part of perl v5.44.0, dated 2026-10-17</ravender>... wait, 2026-10-17, in the <3perl> manual β€” go forth and gate your tests responsibly, bestie. πŸ§šπŸŒˆπŸ’–

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