haf / expecto

A smooth testing lib for F#. APIs made for humans! Strong testing methodologies for everyone!
Apache License 2.0
663 stars 96 forks source link

Small items todo #306

Closed AnthonyLloyd closed 5 years ago

AnthonyLloyd commented 5 years ago
haf commented 5 years ago

Let's not bring colors back to 16. Why? Party like it's 1992?

AnthonyLloyd commented 5 years ago

It's just if I can't work out if the console supports it then the consoles that don't won't get any colour. Do you know of a way to do this?

AnthonyLloyd commented 5 years ago

One possible crazy way to do it without needing to know would be to set the 16 colour then 256 colour each time and reset in a similar way.

haf commented 5 years ago

I don't know of a console that only supports 16 colours. Which one are we talking about?

AnthonyLloyd commented 5 years ago

305

AnthonyLloyd commented 5 years ago

Added a --colours config (0, 8 or 256). The both way doesn't work. Neither appveyor or travis really work with 256. @haf I hacked in the colours in Logging. I tried DVar but couldn't get it to work. Any help appreciated.

jzabroski commented 5 years ago

What does MSBuild do? I think it supported ANSI colors.

See this interesting thread I found while searching MSBuild: https://github.com/Microsoft/msbuild/pull/1827