Test definition: the purpose of program testing is to implement the process of the program to find an error. Test tasks and purposes can be expressed as follows.<br>Objective: to find an error in the program.<br>Task: run the program on the computer and look for the program's hidden error.<br>Another term associated with the prediction is called debug. The purpose and task can be specified as follows:<br>Goal: find and modify an error.<br>Tasks: eliminate software failures and ensure that the program is executed reliably. The relationship between test and error correction can be explained with the data flow diagram of figure 6-1. As can be seen from the diagram, 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, test data required to run the program is called a test case. Each test case generates the corresponding "test result". However, if the test result does not match the expected result, that is, if there is an error in the program, you need to find and modify it.<br>
正在翻译中..