Test2::...:EnvVar(3)
okay so bestie, welcome to the Test2::...:EnvVar(3) page from the User Contributed Perl Documentation. this is literally the manual for Test2::Require::EnvVar, and it's all about letting a test run only when a specific environment variable is set. no cap. β¨
πΈ NAME πΈ
Test2::Require::EnvVar β Only run a test when a specific environment variable is set. π
π¦ DESCRIPTION π¦
okay so it is, like, super common practice to write tests that are only run when an environment variable is set. everybody's doing it. this module automates the (admittedly trivial) work of creating such a test, so you don't have to hand-roll that little check yourself. slay. π
β¨ SYNOPSIS β¨
use Test2::Require::EnvVar 'SOME_VAR';
...
done_testing;
π₯ SOURCE π₯
The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/. go look, bestie π
π 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. periodt.
See http://dev.perl.org/licenses/ π
bye bestie π«Ά β this page is from perl v5.42.0, dated 2025-07-28, and it's the Test2::...:EnvVar(3) manual page. mwah π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Test-Simple 1.302214-bp160.1.2 Β· Artistic-1.0 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