TAP::FORMATTER::COLOR(3pm)

πŸ’– TAP::Formatter::Color(3pm) πŸ’–

okay bestie, welcome to the Perl Programmers Reference Guide page for TAP::Formatter::Color! πŸ’… This is the whole vibe, no cap.


πŸŽ€ NAME πŸŽ€

TAP::Formatter::Color β€” run Perl test scripts with color, periodt. πŸ’…

✨ VERSION ✨

Version 3.50 ✨

πŸ’… DESCRIPTION πŸ’…

Note that this harness is experimental, bestie. You may not like the colors I've chosen and I haven't yet provided an easy way to override them. πŸ™ˆ

This test harness is the same as TAP::Harness, but test results are output in color. Passing tests are printed in green. Failing tests are in red. Skipped tests are blue on a white background and TODO tests are printed in white. 🌈

If Term::ANSIColor cannot be found (and Win32::Console::ANSI if running under Windows) tests will be run without color. πŸ’€

🌈 SYNOPSIS 🌈

k here's the group-chat recipe:

use TAP::Formatter::Color;
my $harness = TAP::Formatter::Color->new( \%args );
$harness->runtests(@tests);

πŸ”₯ METHODS πŸ”₯

🧚 Class Methods 🧚

🌟 new 🌟

The constructor returns a new TAP::Formatter::Color object. If Term::ANSIColor is not installed, returns undef. 🫢

πŸ¦‹ can_color πŸ¦‹

Test::Formatter::Color->can_color()

Returns a boolean indicating whether or not this module can actually generate colored output. This will be false if it could not load the modules needed for the current platform. πŸ‘‘

🎨 set_color 🎨

Set the output color. That's the whole method, bestie. πŸŽ€


🫢 okay that's the page! Source/version is perl v5.42.3 and the date is 2026-11-03 β€” TAP::Formatter::Color(3pm) signing off! πŸ’–βœ¨
πŸ“¦ where this page comes from