Test definition: the purpose of program testing is to implement the process of program to find errors. The test task and purpose can be expressed as follows:<br>Objective: to find errors in the program.<br>Task: run the program on your computer, and then look for hidden errors in the program.<br>Another term associated with prediction is debugging. Its purpose and tasks can be specified as follows:<br>Target: find and fix errors.<br>Task: eliminate software faults and ensure reliable operation of the program. The relationship between testing and error correction can be explained by the data flow chart in Figure 6-1. As you can see from the figure, each test in the system prepares some test data and sends it to the computer with the tested program to execute the command. In general, the test data needed to execute a program is called a "test case.". Each test case will produce a corresponding "test result". However, if the test results do not match the expected results, that is, if there is an error in the program, it needs to be found and fixed.
正在翻译中..