I have been reading a number of tutorials about condition and branch testing (coverage). All of them show simple examples, and mention the difference of condition and branch to be that in condition testing compound conditions are considered, and each elementary part of a condition should be tested for True and False. My main problem is that I do not have the big picture. Consider the image below:
I have a simple condition first, a compound condition and another simple condition. So to test conditions (which focuses on elementary parts of a compound condition), it seems I only need to find cases such as x=8 (TF) and x=0.5(FT). However, this seems to ignore other parts of my graph which have branches. Could you please help me understand?
PS. Should I start from statement coverage, and then add missing tests for branch (if required), and then add tests for elementary conditions (if required)?