To ensure that a program is working properly, it should be tested.
- Testing verifies that the program code works properly under normal operating conditions.
- Testing checks the durability of the program by providing a wide variety of operating conditions that the program must evaluate.
Modular programming practices make it less time consuming to completely test a program. Programs with a modular design are easier to test because there are fewer variables and lines of code to test.