Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Display result in a different color when there's 0 test/assertion #228

Open
chenglou opened this Issue · 2 comments

2 participants

@chenglou

Sometimes the tests don't run correctly either because of bugs or human mistakes. I think it'd be helpful to color the result in a different color (say, yellow?) as a warning. There was one or two cases where I ran the test, saw it was green and left it. Turned out it actually didn't run.

@tebriel

Are you suggesting printing the result in yellow for the entire suite if there's 0 assertions?

@chenglou

No, just make the line 0 tests, 0 assertions, 0 failures another color than green. Because lots of times I make a change and run it again and take green as an indication of everything going well. Last time it costed me a bit. I think whatever happens, having 0 test is an edge case with no good justification. So it should be colored differently.

This is also a good stop gap solution for all the past and future issues where glitches would return 0 tests done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.