lundi 21 mars 2016

Does else if condition run if the the first if condition was true in branch coverage testing?

Given the following scenario:

    If (condition1)
        statement..
    Else if (condition2)
        statement..
    Else if (condition3)
        statement..    
    else end

My question is --> In line / Branch coverage testing, if the first condition is true, is it possible for the second condition to run?

Note: if --> Else if not if --> if

Thanks :)

Aucun commentaire:

Enregistrer un commentaire