We are studying various testing techniques in Software Quality Assurance course and i got confused when came across "basis path testing" and "control flow testing". Both these techniques apparently look same even their steps are also almost same but i need to find some concrete difference among them. I am unable to differentiate them. Any help in this regard would be appreciated.
Asked
Active
Viewed 1,881 times
1 Answers
3
Basis Path testing just ensures the coverage of all the paths in the program but control flow testing test the conditions as well.
So for a simple example, if there is a decision node in the program as:
if( x >= 2 )
Here, in this case there would be two paths:
- x >= 2
- x < 2
But in control flow there would be three combinations, as following:
- x > 2
- x = 2
- x < 2
It was a very basic example, I hope that helps.

Castrohenge
- 8,525
- 5
- 39
- 66

Meetu Singh
- 241
- 2
- 5
-
Thankyou so much it pretty much clears the ambiguity, i would appreciate it you could provide some more insight, any comparatively difficult example or some link which would throws more light on it. – mujtabaidrees94 Apr 06 '14 at 13:42
-
Please go through this link: http://ecomputernotes.com/software-engineering/testing-techniques . Sorry for replying late. – Meetu Singh May 05 '14 at 02:59