{
    "content": [
        {
            "type": "text",
            "text": "# TAP::Formatter::Color (perldoc)\n\n## NAME\n\nTAP::Formatter::Color - Run Perl test scripts with color\n\n## SYNOPSIS\n\nuse TAP::Formatter::Color;\nmy $harness = TAP::Formatter::Color->new( \\%args );\n$harness->runtests(@tests);\n\n## DESCRIPTION\n\nNote that this harness is *experimental*. You may not like the colors I've chosen and I haven't\nyet provided an easy way to override them.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **DESCRIPTION**\n- **SYNOPSIS**\n- **METHODS** (1 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "TAP::Formatter::Color",
        "section": "",
        "mode": "perldoc",
        "summary": "TAP::Formatter::Color - Run Perl test scripts with color",
        "synopsis": "use TAP::Formatter::Color;\nmy $harness = TAP::Formatter::Color->new( \\%args );\n$harness->runtests(@tests);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Class Methods",
                        "lines": 13
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "TAP::Formatter::Color - Run Perl test scripts with color\n",
                "subsections": []
            },
            "VERSION": {
                "content": "Version 3.43\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Note that this harness is *experimental*. You may not like the colors I've chosen and I haven't\nyet provided an easy way to override them.\n\nThis test harness is the same as TAP::Harness, but test results are output in color. Passing\ntests are printed in green. Failing tests are in red. Skipped tests are blue on a white\nbackground and TODO tests are printed in white.\n\nIf Term::ANSIColor cannot be found (and Win32::Console::ANSI if running under Windows) tests\nwill be run without color.\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use TAP::Formatter::Color;\nmy $harness = TAP::Formatter::Color->new( \\%args );\n$harness->runtests(@tests);\n",
                "subsections": []
            },
            "METHODS": {
                "content": "",
                "subsections": [
                    {
                        "name": "Class Methods",
                        "content": "\"new\"\nThe constructor returns a new \"TAP::Formatter::Color\" object. If Term::ANSIColor is not\ninstalled, returns undef.\n\n\"cancolor\"\nTest::Formatter::Color->cancolor()\n\nReturns a boolean indicating whether or not this module can actually generate colored output.\nThis will be false if it could not load the modules needed for the current platform.\n\n\"setcolor\"\nSet the output color.\n"
                    }
                ]
            }
        }
    }
}