Test::...:Color(3perl)

✨ Test::...:Color ✨

okay bestie, so this is Test::Builder::Tester::Color β€” yes that NAME is literally Test::...:Color in the manpage header, it's giving "abbreviated for the vibe", but the real deal is Test::Builder::Tester::Color. It is THE little module whose whole entire job is turning on colour in Test::Builder::Tester. πŸ’…


🌈 SYNOPSIS 🌈

when you're running a test script, you just do this:

perl -MTest::Builder::Tester::Color test.t

and that's it. that's the whole move. 🫢


πŸ’– DESCRIPTION πŸ’–

so importing this module does exactly one thing (main character behaviour tbh): it makes the subroutine color over in Test::Builder::Tester get called with a true value, which turns colour highlighting on in debug output. ✨

and like β€” that is the entire purpose of this module. the sole purpose. the way that it exists purely so you can enable colour highlighting from the command line?? iconic. no API to learn, no config files, no drama. πŸŽ€


πŸ‘‘ AUTHOR πŸ‘‘

Copyright Mark Fowler <mark@twoshortplanks.com> 2002.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. slay, legally speaking. πŸ“œ


πŸ’€ BUGS πŸ’€

okay so heads up, this is the important part:

This module will have no effect unless Term::ANSIColor is installed.

no cap. if Term::ANSIColor isn't there, you get literally zero colour. so if you're sitting there like "why is my debug output so beige 😭" β€” check that first. πŸ“


πŸ¦‹ SEE ALSO πŸ¦‹

  • Test::Builder::Tester β€” the bestie this module is here for
  • Term::ANSIColor β€” the whole reason any of the colour works

and that's the page fr fr πŸ’œ this was rendered from perl v5.44.0, dated 2026-10-17 β€” mwah, go forth and make your test output pretty 🌸⭐

πŸ“¦ 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