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

Q: A grey world #287

Closed haf closed 5 years ago

haf commented 5 years ago

image

The world is so grey now. Is this intended @AnthonyLloyd ?

AnthonyLloyd commented 5 years ago

No, I matched up the colors as best I could from the logger to ANSI. Will take a look later.

haf commented 5 years ago

@AnthonyLloyd Thank you, I must admit I just found the culprit and it was my own fault primarily. But I think this change is really good as it'll improve the looks of this:

screen shot 2018-10-20 at 15 48 51
haf commented 5 years ago

Also, this is what it looks like without 51113bc, on black backgrounds...

image

...BEFORE the tests start; that is, it would seem there's a mismatch of the logging configuration in the Global and after starting an expecto test:

image

This happens because I run code to generate tests, so that code runs before the tests themselves run; in this case it's because the tests are interdependent ordering-wise, but independent logically (so they are different tests)