NAME
Test::CanFork - Only run tests when forking is supported, optionally conditioned on ENV vars.
DESCRIPTION
Use this first thing in a test that should be skipped when forking is not supported. You can also specify that the test should be skipped when specific environment variables are not set.
SYNOPSYS
Skip the test if forking is unsupported:
use Test::CanFork;
use Test::More;
...
Skip the test if forking is unsupported, or any of the specified env vars are not set:
use Test::CanFork qw/AUTHOR_TESTING RUN_PROBLEMATIC_TESTS .../;
use Test::More;
...
SOURCE
The source code repository for Test::More can be found at http://github.com/Test-More/test-more/.
MAINTAINER
AUTHORS
COPYRIGHT
Copyright 2014 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html