9.1 Functional testing

Functional testing involves developing a large set of program tests so that, ideally, all of a program’s code is executed at least once. The number of tests needed obviously depends on the size and the functionality of the application. For a business-focused web application, you may have to develop thousands of tests to convince yourself that your product is ready for release to customers.

Software testing is a staged activity in which you initially test individual units of code (Figure 9.2 and Table 9.2). You integrate code units with other units to create larger units and then do more testing. The process continues until you have created a complete system ready for release.

Figure 9.2

Functional testing

Table ...

Get Engineering Software Products: An Introduction to Modern Software Engineering 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.