---
name: "Test::BDD::Cucumber::Harness::TermColor"
section: "3pm"
platform: "linux"
package: "libtest-bdd-cucumber-perl"
version: "0.87-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Test::BDD::Cucumber::Harness::TermColor"
---

# Test::BDD::Cucumber::Harness::TermColor(3pm)

Prints colorized text to the screen

## NAME

Test::BDD::Cucumber::Harness::TermColor - Prints colorized text to the screen

## VERSION

version 0.87

## DESCRIPTION

A Test::BDD::Cucumber::Harness subclass that prints test output, colorized, to the terminal.

## CONFIGURABLE ENV

### ANSI\_COLORS\_DISABLED

You can use Term::ANSIColor's `"ANSI_COLORS_DISABLED"` to turn off colors in the output.

## CONFIGURABLE ATTRIBUTES

### fh

A filehandle to write output to; defaults to `"STDOUT"`

### theme

Name of the theme to use for colours. Defaults to \`dark\`. Themes are defined in the private attribute `"_themes"`, and currently include \`light\` and \`dark\`

## AUTHOR

Peter Sergeant `"pete@clueball.com"`

## LICENSE

```
  Copyright 2019-2023, Erik Huelsmann
  Copyright 2011-2019, Peter Sergeant; Licensed under the same terms as Perl
```
