lunarmodules / busted

Elegant Lua unit testing.
https://lunarmodules.github.io/busted/
MIT License
1.39k stars 184 forks source link

fix(output) enable color overrides for utf+gtest handlers #675

Closed Tieske closed 2 years ago

Tieske commented 2 years ago

this updates the color outputting handlers to take override options.

The 2 (utfTerminal and gtest) were not in sync to start with. The gtest one does not colorize output in CI runs since the stream is not a tty. This makes sense on local systems, but could use an override in CI to force the use of color.

Both outputters can now be forced by specifying outputter options;