Condition Coverage - Georgia Tech - Software Development Process

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

Hi, I have a question here, X = 5 in both of the test cases, so why the condition coverage is 100%? Because one of the conditions is that X==0. but X isn't 0 in both test cases .

杨泽鹏-so
Автор

This was an excellent tutorial, but I am a little lost on the True/False statement as it is illustrated on your CFG.

It goes 3 > 4 > Then Jumps into an If/Else statement.

Why is the If/Else statement not being carried out on 5 as your test suggests?

I have just stumbled across this stuff and trying to work out the differences between Statement/Branch.

danh
Автор

Branch coverage and condition coverage are both the same

maddinagarjuna