3Static Testing
Test techniques can be split into dynamic and static techniques.
The main advantage of static techniques is that they do not require the application of a functioning system or software: they can be applied to documents and parts of software. They can therefore be executed long before dynamic techniques (one application of shift-left) can, which require a functioning system or software for execution.
The second advantage of static techniques is that they are often cheaper than dynamic techniques and that their return on investment is much higher. As defects are identified earlier, their fixes are cheaper, and they often are not introduced into the software at all, being found in specification documents.
Static techniques cover two large sets of activities:
- reviews, whether formal or informal;
- static analysis, with or without tools.
3.1. Static techniques and the test process
We saw previously that it was possible to split test techniques into two categories: dynamic techniques, which require functioning software, and static techniques, which do not.
FL-3.1.1 (K1) Recognize types of products that can be examined by the different static test techniques
Static techniques can be applied to numerous deliverables, such as software components, whether or not they can compile; high-level or detailed level specifications; lists of requirements; contracts; development plans or test plans; and also to numerous other deliverables. Static tests can thus be executed very ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access