The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

t/08-cache-debug.t

OBJECTIVE

The tests in this file automate testing of the validity of information printed to STDERR when the cache_debug option to HTML::Template::new() is turned on. The versions of these tests in t/99-old-test-pl.t were "non automated," i.e., in order to assess their results, you would have had to turn the option on and visually inspect STDERR as the test were displayed on the terminal. Now the output is captured with subroutines based on CPAN module IO::Capture::Stderr. The relevant packages for that module have been placed in the t/testlib/ subdirectory.