What Is Control Flow Testing?

What Is Control Flow Testing?
March 07 15:27 2016 Print This Article

During manual testing or automated testing, the appropriate testing tools and techniques should be chosen.

QA specialists perform control flow testing to check system modules. It is a kind of static software testing. Its procedure requires the applying of control flow graphs.

The code modules are represented in a form of graphs which consist of several elements. A tester analyzes the graphs and the paths between them and creates test cases. The tests cover different levels. In the context of control flow testing, ‘coverage’ is regarded as proportion of tested code to non-tested one.

What Are Test Levels of Coverage?

  • 100% statement coverage. It is the lowest level. Every statement of every module is under test. It is rather difficult to create graph and then to realize the paths within this level of coverage. A tester may use Holodeck to emulate the system environment.
  • 100% decision coverage/branch coverage. Test cases are written for every decision with a true or false outcome.
  • 100% multiple condition coverage.
  • 100% path coverage. It can be reached if the system has no loops. It is the highest level. If there is a loop, then several test cases should be created to check the loop zero times, one time, n times (n – typical loop value) and maximum number of times.

The control flow checking principle applied during mobile testing or web application testing helps the specialists to discover more bugs and understand the system functionality better.

Related Posts:

  • No Related Posts
  Article "tagged" as:
  Categories:

About Article Author

view more articles
Nataliia Vasylyna
Nataliia Vasylyna

View More Articles

1 Comment

write a comment
  1. sarah shaik
    May 16, 05:56 #1 sarah shaik

    Very informative for software testing aspirants ! Any one who wants to learn software testing automation online can visit itelearn.com , an online software testing platform

    Reply to this comment

Add a Comment

Click here to cancel reply.

Your data will be safe! Your e-mail address will not be published. Also other data will not be shared with third person.
All fields are required.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.