runner icon indicating copy to clipboard operation
runner copied to clipboard

Failure from empty test case is not counted

Open Greatlemer opened this issue 5 years ago • 1 comments

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

Greatlemer avatar Sep 09 '20 10:09 Greatlemer

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.

error256 avatar Sep 09 '20 17:09 error256