jeudi 20 juin 2019

Statement-testing never gives full coverage for while-loops. How to fix this?

I'm using istanbul as coverage-tools for my unit-tests and it marks any statement in a while-loop as uncovered by tests.

How can I fix this? The statement in the while-loop definitely is executed in my test cases (sometimes even more then one time).

Aucun commentaire:

Enregistrer un commentaire