Branch and Condition Coverage - Georgia Tech - Software Development Process

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

what about the fact that when the first condition is true, the second one won't be validated at all.
of course it depends on the compiler, but this means in some cases with some compilers those two test cases don't supply a 100% condition coverage.

jamalallogie
Автор

I think that condition coverage is 50%
because we have two conditions and there are 4 possible TCS 1- TT, 2- TF, 3- FT and 4-TT. is it right ?.thanks for your effort

sarahgamal
Автор

This is wrong, the two predicates put together is also a predicate!

chagaif
Автор

what should we do to make branch coverage %100???

berkcan