if(condition1)
dosomething1();
if(condition2)
dosomething2();
if(condition3)
dosomething3();
This is a complete branch test if there are two test cases in this example.
- condition1 = condition2 = condition3 = true;
- condition1 = condition2 = condition3 = false;
Or did I misunderstand this? Trying to figure out the difference between testing branches and paths. I am getting path testing, so I hope this is correct.
source
share