TEST2::REQUIRE::NONINTERACTIVETESTING(3pm)
β¨ NAME β¨
TEST2::REQUIRE::NONINTERACTIVETESTING(3pm) β thatβs the page, bestie, straight out of the Perl Programmers Reference Guide. The module is Test2::Require::NonInteractiveTesting, and its whole thing is: only run a test when the NONINTERACTIVE_TESTING environment variable is set. π
πΈ DESCRIPTION πΈ
Okay so picture this: it is common practice to write tests that are only run when the NONINTERACTIVE_TESTING environment variable is set. This module automates the admittedly trivial work of creating such a test. Lowkey iconic, no cap. β¨
π¦ SYNOPSIS π¦
use Test2::Require::NonInteractiveTesting;
...
done_testing;
π₯ SOURCE π₯
The source code repository for Test2-Suite is literally right here: https://github.com/Test-More/test-more/. Go off, bestie. π«Ά
π MAINTAINERS π
Chad Granum <exodist@cpan.org> β thatβs the maintainer. π
π AUTHORS π
Chad Granum <exodist@cpan.org> β same icon, author edition. β
π 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/ β periodt. π
Cute little sign-off: this page is serving perl v5.42.3 energy, dated 2026-11-03, with the footer tag Test2::...eTesting(3pm). Bye bestie, go set that env var and slay your tests π
β¨
π¦ 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