Principles of software testing (the art of software testing)
1. A necessary part of the test case is to define the expected output or result
2. Programmers should avoid testing programs written by themselves
3. Organizations that write software should not test their own software.
4. The execution results of each test should be thoroughly checked.
5. Test cases should be written not only according to valid and expected inputs, but also according to invalid and unexpected inputs
6. Testing whether the program "did not do what it should do" is only half of the test, and the other half of the test is to check whether the program "did what it should not do".
7. Avoid disposable test cases unless the software itself is disposable software
8. when planning testing, you should not acquiesce in the assumption that errors will not be found.
9. The possibility of more errors in a certain part of the program is proportional to the number of errors found in that part.
10. Software testing is a highly creative and intellectually challenging task.
Three important testing ideas
1. Software testing is the process of executing a program to find errors.
2. A good test case has a higher possibility of finding an error that has not yet been discovered.
3. A successful test case can find an error that has not yet been discovered.