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.
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.
Source URL: https://blog.qatestlab.com/2016/03/09/structured-testing-secret/
Copyright ©2024 QATestLab Blog unless otherwise noted.