lundi 23 mars 2020

Statement Coverage vs Boundary Coverage

We are already aware of famous division by zero issue with SC and BC I was asked a question during interview

Is it even possible to have a code in which for every test suite with 100% BC we have a divide by zero fault.

But it is possible a test suite that does 100% but doesn’t reveal the fault.

I tried to think a lot but I think it is not possible.

Aucun commentaire:

Enregistrer un commentaire