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