Add support for colors to testsuite
Open
cabal-testsuite
meta: easy
priority: low
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
The `cabal-testsuite`'s output is imho difficult to comprehend visually, especially when more than a single test fails.
Maybe adding color support (either via `ansi-terminal` or by using the few ANSI escape sequences we need directly) to highlight the structure of the output (e.g. to make it more obvious where the output for one test-case ends, and the output for another starts) may go a long way.
Color support should ideally detect whether it's being directed at a console or directed to a file (and then disable it), and/or give the ability to control color output via a `--color` flag.
Contributor guide
Assessment
This issue has not been assessed yet.