The Secret of Structured Testing

by Nataliia Vasylyna | March 9, 2016 10:37 am

The employees of software testing company always perform thorough checking of system or application. Various testing types, for example, automated testing[1] and manual testing, help to reach this goal.

Besides well-known software testing types such as performance testing[2], load testing, usability testing[3], security testing, etc., there are additional ones that make the process of test case creation faster and easier. Structured testing is closely connected with control flow testing[4].

Structured testing is sometimes called basis path testing. This technique is based on the work of Tom McCabe. He defines structured checking as the analysis of the graph topology using Cyclomatic Complexity[5] (C). C equals the number of edges (arrows on graph) minus the number of nodes (bubbles) plus two. According to this formula, the minimal number of basis paths can be defined.

What Are the Steps of Structured Testing?

The formula for computing Cyclomatic Complexity can be simplified if all decisions are binary. The testing procedure based on the basis paths (C test cases) ensures the branch and statement coverage.

Learn more from QATestLab

Related Posts:

Endnotes:
  1. automated testing: https://qatestlab.com/services/We-Are-Professionals-in/automated-testing/
  2. performance testing: https://qatestlab.com/services/Withstand-the-Load/performance-testing/
  3. usability testing: https://qatestlab.com/services/We-Are-Professionals-in/usability-testing/
  4. control flow testing: https://blog.qatestlab.com/2016/03/07/control-flow-testing/
  5. Cyclomatic Complexity: https://blog.qatestlab.com/2017/03/08/cyclomatic-complexity-notion/
  6. What Is Cyclomatic Complexity?: https://blog.qatestlab.com/2017/03/08/cyclomatic-complexity-notion/

Source URL: https://blog.qatestlab.com/2016/03/09/structured-testing-secret/