codewars / runner

Issue tracker for Code Runner
34 stars 8 forks source link

Failure from empty test case is not counted #63

Open Greatlemer opened 4 years ago

Greatlemer commented 4 years ago

Describe the bug

Sometimes the test output colour is as if a test failed when actually it passed (see the expanded nodes in the attached screenshot). I've included an example of where this goes wrong on a C kata, however this isn't the first time/language where I've seen it.

To Reproduce

Fork or copy my solution here and run against the main tests.

Expected Behavior

Everything should be the colour of success.

Screenshots

Screenshot 2020-09-09 at 11 20 11
error256 commented 4 years ago

It happens when there are it blocks without any assertions in some languages. I've fixed the kata, but I'm not sure if it's considered a runner issue in general or not.