Test::...rmColor(3pm)
π NAME π
Test::BDD::Cucumber::Harness::TermColor β bestie, it literally just prints colorized text to your screen πβ¨
It's a Perl manual page from the User Contributed Perl Documentation section, and yes we are doing this whole thing in group-chat energy, iykyk π
πΈ VERSION πΈ
version 0.87 β that's the one, no cap.
β¨ DESCRIPTION β¨
Okay so picture this: it's a subclass of Test::BDD::Cucumber::Harness, right? And what it does is print your test output to the terminalβ¦ but colorized π
That's it. That's the whole vibe. Main character energy for your test suite π
π CONFIGURABLE ENV π
ANSI_COLORS_DISABLED
Not feeling the colors today? Mood, honestly. You can use Term::ANSIColor's ANSI_COLORS_DISABLED to turn off colors in the output. Poof, gone, no more rainbow π«Ά
π¦ CONFIGURABLE ATTRIBUTES π¦
fh
A filehandle to write output to. It defaults to STDOUT, which is giving "just send it straight to my terminal bestie" π
theme
The name of the theme to use for colours π¨ Defaults to dark.
So where do themes live? They're defined in the private attribute _themes, and currently that lineup includes light and dark. Obsessed with the range honestly β¨
π AUTHOR π
Peter Sergeant pete@clueball.com π
π LICENSE π
Copyright 2019-2023, Erik Huelsmann
Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
perl v5.40.1 π«Ά 2025-05-29 β that's the version and the date this page was living its truth, and that's the whole manual, bestie. Go forth and colorize responsibly π π
π¦ where this page comes from
- debian trixie: libtest-bdd-cucumber-perl 0.87-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libtest-bdd-cucumber-perl 0.87-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtest-bdd-cucumber-perl 0.87-1 Β· Artistic-1.0-Perl OR 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