1.3 Testing Principles Flashcards

1
Q

Does testing show the presence or absence of defects?

A

Testing shows the presence, not the absence of defects.

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

Is exhaustive testing feasible?

A

Exhaustive testing is impossible except in trivial cases.

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

How do we decide what to test if we don’t test everything?

A

Test techniques, test case prioritization, and risk-based testing should be used to focus test efforts.

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

What does early testing accomplish?

A

Early testing saves time and money.
Defects that are removed early in the process will not cause subsequent defects in derived work products. The cost of quality will be reduced since fewer failures will occur later in the SDLC

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

Do defects cluster together or spread out?

A

Defects cluster together.
A small number of system components usually contain most of the defects discovered or are responsible for most of the operational failures.
This phenomenon is an illustration of the Pareto principle.

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

Why should you not re-use the same tests too much?

A

Tests wear out.
If the same tests are repeated many times, they become increasingly ineffective in detecting new defects. This is also known as the pesticide paradox.

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

How can we overcome the pesticide paradox (Tests wear out)?

A

To overcome this effect, existing tests and test data may need to be modified, and new tests may need to be written.

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

Are testing methods and approaches universal?

A

Testing is context dependent. There is no single universally applicable approach to testing. Testing is done differently in different contexts.

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

Thoroughly testing all the specified requirements and fixing all the defects found could still produce a system that does what?

A

A system that meets all specified requirements could still not fulfill the users’ needs and expectations, not help in achieving the customer’s business goals, and be inferior compared to other competing systems. This is the Absence-of-defects fallacy.

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