Branch Testing:
Testing in which all branches in the program source code are tested at least once.
Yes; you are performing correct branch testing, since all your branches are hit. In fact you can remove your second test case, since case 1 executes all the branches.
Obviously branch testing is less encompassing than path testing, since it's likelyhood of hitting dependies is low and as such, ought not to be your only form of testing.
manpreet
Best Answer
2 years ago
Is it full branch testing if I have two test cases in this example
Or have I misunderstood it? Trying to figure out the difference between branch and path testing. I get path testing so hope this is correct.