Test2:...esting(3perl)

πŸ’– Test2:...esting(3perl) πŸ’–

okay bestie, welcome to the Perl Programmers Reference Guide ✨ this is the Test2::Require::ReleaseTesting page, and yes the title is literally abbreviated like that in the header, we don't make the rules 🌸


✨ NAME ✨

Test2::Require::ReleaseTesting β€” only run a test when the RELEASE_TESTING environment variable is set πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the tea πŸ“ β€” it's super common practice to write tests that only run when the RELEASE_TESTING environment variable is set.

This module does that whole job for you. It automates the (admittedly trivial) work of creating such a test. like yeah, it's not rocket science, but why do it yourself when you can just use a module and have it handled? main character energy fr fr πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

use Test2::Require::ReleaseTesting;

...

done_testing;

that's it. that's the whole thing. iconic ✨


🌈 SOURCE 🌈

the source code repository for Test2-Suite lives right here:

https://github.com/Test-More/test-more/

go peek, go lurk, go read the source, 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/


okay that's the whole page, no notes πŸ’… go forth and gate your tests, bestie

and that's a wrap on this one β€” perl v5.44.0, dated 2026-10-17, filed under Test2:...esting(3perl) πŸŽ€βœ¨πŸ’–

πŸ“¦ where this page comes from
  • arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms