Testing principles - phases - test case design - debugging

Testing principles - phases - test case design - debugging

Testing principles and methods

Insert image description here

System Test
Successful Test

Testing principles

Software testing methods:
Insert image description here

Static testing
Dynamic testing

testing phase

Insert image description here

Unit testing
Integration testing
Confirmation testing

Insert image description here

System testing
Configuration item testing
Regression testing

Unit testing, integration testing, system testing, validation testing

testing strategy

Insert image description here

Fewer inspections

Insert image description here

C
Insert image description here
c

Insert image description here

a Find A C
by elimination method
Insert image description here

Test case design

Frequently tested points

Insert image description here

Equivalence class division
Boundary value division

Insert image description here

Decision coverage: Each decision needs to be true and false once
Insert image description here

Insert image description here

Conditional coverage: Each condition in each decision needs to be executed once.
Insert image description here
In the use case of conditional coverage, the values ​​​​of x, y, and z all cover and satisfy the true and false of x, y, and z in the condition.

Satisfying condition coverage does not necessarily satisfy judgment coverage.

Insert image description here

Insert image description here
Frequent exams

Insert image description here

c
can only override an invalid equivalence class

Insert image description here

d
Insert image description here

Insert image description here

a
d
Insert image description here
takes the highest one

debug

Insert image description here

software metrics

Insert image description here

McCabe metric method examines
the number of high-frequency directed edges - the number of nodes + 2

Insert image description here

b
Insert image description here
b
Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/qq_41701723/article/details/132801000