haf / expecto

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

Logging in 8.2.2 prints ANSI to non-ANSI consoles #271

Closed haf closed 6 years ago

haf commented 6 years ago

Problem:

screen shot 2018-08-18 at 21 09 40

Solution:

screen shot 2018-08-18 at 21 13 29

Real solution? Allow configuration option that replaces the literate console logger? Or alternatively someone check whether the console supports that type of output.

AnthonyLloyd commented 6 years ago

Yes. I was hoping it wouldn't be needed. But that hope has died. Will add a config option.

AnthonyLloyd commented 6 years ago

switch no-spinner added. Will need a bit of a coordinated release next time for dependent projects.

haf commented 6 years ago

Also, it would seem that the console output (albeit not necessarily F# interactive) in Rider supports the new colourisation code of yours!