Software Testing: Testing a Website

1. Principles of software testing

1. Software testing should be performed as early as possible and throughout the entire software life cycle

2. Software testing should trace requirements

3. Tests should be constructed by a third party

4. Exhaustive testing is impossible, and the Good-enough principle must be followed

5. The expected output (or outcome) must be determined

6. Each test result must be thoroughly checked

7. Pay full attention to the cluster phenomenon in the test

8. The 28th theorem of defects

9. Strictly implement the test plan and eliminate the randomness of the test

10. Pay attention to legal and reasonable input, but also pay attention to illegal and unexpected input

11. Check whether the program does what it should not do

12. Testing should start from "small scale" and gradually shift to "large scale"

13. Reusing the same tests over and over makes software resistant

14. Focus on bug fixes

Second, the steps of website testing

1. Document reading Check and find related documents such as requirement description and website design, and analyze testing requirements.

2. Formulation of test plan Functional test; Interface test; Performance test; Database test; Security test; Compatibility test 3. Design of test cases Equivalence class division method Boundary value analysis method Error guess method Analytical method Orthogonal experimental design method Functional graph analysis method

4. Interface test and performance test The interface test and performance test can be tested according to the interface document, and then use the corresponding tools. Interface testing tool: apipost

 

Guess you like

Origin blog.csdn.net/NHB456789/article/details/130386732