mardi 6 juin 2017

Condition coverage vs Decision coverage testing

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):

  1. A = TRUE, B = FALSE
  2. A = FALSE, B = TRUE

Decision coverage will have only one test (The result will be true):

  1. A = TRUE, B = TRUE

Do I understand that right?

Aucun commentaire:

Enregistrer un commentaire