Test2::Require::EnvVar3p
Only run a test when a specific environment variable is set.
Usage
use Test2::Require::EnvVar 'SOME_VAR';...done_testing;
Overview
It is common practice to write tests that are only run when an environment variable is set. This module automates the (admittedly trivial) work of creating such a test.
Source
The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/.
Maintainers
- Chad Granum <[email protected]>
Releases
5 releases since OpenBSD 7.7; the text changed 2 times.