vincent-hugot / qtest

Inline (Unit) Tests for OCaml
GNU General Public License v3.0
67 stars 8 forks source link

output faulty diagnostics in color #46

Closed UnixJunkie closed 7 years ago

UnixJunkie commented 7 years ago

Hello, it would be nice if the output final diagnostics are in color. Especially the faulty ones, like in yellow or red. So that I can eyeball quickly if anything went wrong.

c-cube commented 7 years ago

This should be in qcheck instead, I think (in the test runner). Are you thinking of just the last 'success' or 'failure', or individual test results?

c-cube commented 7 years ago

@UnixJunkie you can try to pin qcheck and recompile your tests. Display of the final result will be in colors (unless --no-colors is specified).

UnixJunkie commented 7 years ago

it works. Thanks. I think the important part is that anything faulty should by default be displayed in color (like yellow or red or orange).

c-cube commented 7 years ago

You mean each test's failure? That's a good remark indeed.

c-cube commented 7 years ago

Last commit puts more colors.

c-cube commented 7 years ago

(please close if it's good enough for you :-))

UnixJunkie commented 7 years ago

thanks a lot!