Can I have one question? What is the difference between Condition coverage and Decision coverage?
I have simply example:
IF (A && B) THEN
Condition coverage will have two tests (The result will be false):
- A = TRUE, B = FALSE
- A = FALSE, B = TRUE
Decision coverage will have only one test (The result will be true):
- A = TRUE, B = TRUE
Do I understand that right?
Aucun commentaire:
Enregistrer un commentaire