Test::...rmColor(3pm)

πŸ“¦
version 0.87 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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