1. Introduction to test cases
1. What is it?
The core of the test work, a set of standards for input and output during testing, and the specific comparison of software requirements.
2. Function
Check whether the software meets customer needs, reflect the workload of a tester, and show the design ideas of test cases
3. Contains content
(1) Use case number: unique, eg ID number
(2) Use case name: It is required to be concise, eg name
(3) Test background: what does this use case test
(4) Preconditions: what conditions should be implemented before this measure is executed, such as testing the login function, the premise is that there is an account password
(5) Priority: the priority of test cases
(6) Importance: the importance of the test case
(7) Test data: such as the entered account password, the operation of the mouse is also a kind of test data
(8) Test steps: the steps in which the test is performed
(9) Expected results: corresponding phenomena corresponding to input data or conditions, etc.
(10) Actual result: the result after the test is executed
Test case writing process:
Requirements analysis, extraction of test points, test case writing, test case review