mercredi 6 septembre 2017

condition coverage ISTQB test, draw flowchart (ISTQB test)

Please help constructed a control flow for this code.

How many test cases are needed to achieve 100 % condition coverage?

if ((temperature < 0) or (temperature > 100)) { 
    alert ("DANGER");
    if ((speed > 100) and (load <= 50)) { 
        speed = 50;
    }
} else {
   check = false;
}

A. 5 B. 4 C. 2 D. 3

Aucun commentaire:

Enregistrer un commentaire