Test2::...ealFork(3)
π NAME π
Test2::Require::RealFork β skip a test file unless the system supports true forking.
Also hiii bestie, this page is Test2::...ealFork(3) from the User Contributed Perl Documentation, and it's lowkey a lifesaver when forking is the whole vibe. π
π DESCRIPTION π
Okay so it's fairly common to write tests that need to fork. Not all systems support forking though, and that's not a skill issue, it's just a system thing. This library does the hard work of checking if forking is supported on the current system. If forking is not supported, then this will skip all tests and exit true. Periodt. β¨
π¦ SYNOPSIS π¦
use Test2::Require::RealFork;
... Code that forks ...
π SEE ALSO π
Test2::Require::Forkβ Similar to this module, but will allow fork emulation. So if emulation is your thing, go off. π«ΆTest2::Require::Threadsβ Skip the test file if the system does not support threads. Different vibe, same skip energy. π§
π₯ SOURCE π₯
The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/. Go stare at it, it's giving open source main character energy. π
π MAINTAINERS π
Chad Granum <exodist@cpan.org> β holding it down. π
πΈ AUTHORS πΈ
Chad Granum <exodist@cpan.org> β same icon, same email, we love consistency. π
π 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/
kisses and slay, this page was brought to you by perl v5.42.0, dated 2025-07-28, and it's Test2::...ealFork(3) π
β¨
π¦ 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