1.3 Testing Principles Flashcards

1
Q

What does the principle “Testing shows the presence, not the absence of defects” mean?

A

This principle means that testing can reveal defects in a test object, but it cannot prove that there are no defects. Even if no defects are found, testing cannot confirm that the test object is defect-free.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is exhaustive testing considered impossible?

A

Exhaustive testing is impossible because testing everything is not feasible except in trivial cases. Instead, test techniques, test case prioritization, and risk-based testing should be used to focus testing efforts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How does early testing save time and money?

A

Early testing saves time and money by identifying and removing defects early in the process, which prevents them from causing further defects in derived work products and reduces the cost of quality later in the SDLC.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the significance of the “defects cluster together” principle?

A

This principle indicates that a small number of system components usually contain most of the defects or are responsible for most operational failures. This is an illustration of the Pareto principle and is important for risk-based testing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What happens to tests when they are repeated many times?

A

When tests are repeated many times, they become less effective at detecting new defects. This effect can be mitigated by modifying existing tests, creating new tests, or, in some cases, repeating the same tests in automated regression testing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does it mean that “Testing is context dependent”?

A

This principle means that there is no single universally applicable approach to testing. Testing must be adapted to different contexts, as it is done differently depending on the situation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the “absence-of-defects fallacy”?

A

The absence-of-defects fallacy is the misconception that thoroughly testing all specified requirements and fixing all defects will ensure the success of a system. Even with no defects, a system may still not fulfill users’ needs or achieve business goals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly