0
7.9kviews
What are the limitations of control flow based testing?

This question appears in Mumbai University > Software Testing & Quality Assurance Subject

Marks: 5 M

Year: Dec 2013, Dec 2014

1 Answer
1
618views

Control Flow Testing :

  • Control flow testing is a kind of structural testing, which is performed by programmers to test the code written by them.

  • The concept is applied to small units of code , such as functions.

  • Test cases for control flow testing are derived from the source code, such as program units, rather than from the entire program.

  • The main idea in control flow testing is to appropriately select a few paths in a program unit and observe whether or not the selected paths produce the expected outcome.

Limitations of control flow based testing :

  • Control flow testing cannot catch all initialization mistakes.

  • Specification mistakes are not caught by control flow testing.

  • It is unlikely to find missing paths and features if the program and the model on which the tests are based are done by the same person.

  • Interface mismatches and mistakes are not caught.

  • Studies show that control flow testing catches about 50% of all bugs during unit testing.

  • Control flow testing does not verify the correctness of data values “defined” compared to data flow testing.

  • It does not focus on the points at which variables receive values and the points at which these values are used.

Please log in to add an answer.