Eight principles that should follow software tests
Software testing, from different perspectives, two different test principles will be derived. From the user's perspective, it is desirable to fully expose the problems and defects in the software through software testing; from the developer's perspective, it is desirable that the software products do not have errors, which has correctly implemented users.
The test principle of the China Software Evaluation Center is to test software product testing from the perspective of users and developers.
In order to achieve the above principle, you should pay attention to the following points:
1. The "testing as soon as possible" as the motto of the developer.
2. Programmers should avoid checking their own procedures, and testing should be done by an independent professional software testing organization.
3. When designing test cases, the legal input and illegal inputs should be considered, as well as various boundary conditions, special circumstances to create extreme conditions and unexpected states, such as network abnormal interruption, power power off and other conditions.
4. Be sure to pay attention to the occurrence of errors in the test, which has a great relationship with the programmer's programming level and habits.
5. There must be a confirmation process for the test error result. Generally there is an error that is tested, be sure to have a B to confirm that serious errors can be convened to discuss and analyze.
6. Develop a strict test plan, and arrange the test schedule as soon as possible, do not want to complete a high level test in a very short period of time.
7. The relevance of the regression test must cause adequate attention to modifying an error and causing more errors.
8. Properly save all test procedure documents, meaning is self-evident, and the reproducibility of tests often rely on test documents.