Software testing study notes: test cases

Definition of test cases

A test case is a set of test inputs, execution conditions, and expected results designed for a specific purpose in
order to test a program path or verify whether a specific requirement is met.
A large number of test cases are used to verify the running effect of the software, which is the basis for guiding the test work.

Input data
Execution conditions and execution steps
Expected results

Test case characteristics

Effectiveness,
reusability,
easy organization, evaluability
,
manageability

The preparation elements of test cases

The basic elements of a software test case include use case number, test module, use case title, use case level, test environment, test input, execution operation, and expected result.

The preparation elements of test cases

Use case number
Each test case has a unique identification number to distinguish it from other test cases.

Example: The number of system test cases defines the rule as follows: PROJECT1-ST-001, the naming rule is project name + test phase type (system test phase) + number.

Guess you like

Origin blog.csdn.net/m0_51684972/article/details/112333072