Test2::...rTesting(3)
β¨ NAME β¨
Okay bestie, this is Test2::...rTesting(3) from the User Contributed Perl Documentation, aka the page for Test2::Require::AuthorTesting β and its whole thing is: only run a test when the AUTHOR_TESTING environment variable is set. Periodt. π
π DESCRIPTION π
okay so, it is common practice to write tests that are only run when the AUTHOR_TESTING environment variable is set. This module automates the (admittedly trivial) work of creating such a test. No cap, that's the entire glow-up: it saves you from hand-writing that lilβ guard yourself. π«Ά
πΈ SYNOPSIS πΈ
Bestie, your test file starts like this, then the vibes, then done_testing:
use Test2::Require::AuthorTesting;
...
done_testing;
π¦ SOURCE π¦
The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/. Go look if you want the receipts, iykyk. β¨
π 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.
See http://dev.perl.org/licenses/
sign-off time π«Ά This page came from perl v5.42.0, dated 2025-07-28, and the footer calls it Test2::...rTesting(3). Stay slay, bestie, and may your author-only tests be iconic. πβ¨
π¦ 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