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 β
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