Test2::...rTesting(3)

πŸ“¦ version 1.302214, in opensuse-leap 16.0

✨ 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 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