Testing
In this lesson, we look at how debugging the logic of a program is interrelated with testing the program.
We'll cover the following...
Kinds of testing data
Before we can correct an error in logic, we must recognize that an error has occurred. To do so, we need to test the program. Thus, testing and debugging are interrelated activities. Ideally, a test should try all possible paths through a program’s logic. When those paths depend on some sort of input data, designing the test data set is the immediate task.
Testing should proceed using the following kinds of data:
- Typical data
- Extreme but acceptable data
- Unacceptable or incorrect data
Access this course and 1400+ top-rated courses and projects.