4 Static Testing

Static testing and analysis of work products (documentation and code) contributes measurably to increased product quality. This chapter describes static testing in general as well as the specific process involved, with its activities and the roles that have to be filled. We describe four proven techniques and their specific advantages, as well as the factors that ensure success when applying them. We conclude by comparing static and dynamic testing techniques.

An underestimated technique

Static testing (or “static analysis”) can be performed in a tool-based environment or manually, and is a testing technique that is often neglected. While the test object for a dynamic test (see Chapter 5) is an executable program that is run ...

Get Software Testing Foundations, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.