1.3 Seven Testing Principles Flashcards

1
Q

Seven Testing Principles:

A

Testing shows the presence of defects, not their absence
Exhaustive testing is impossible
Early testing saves time and money
Defects cluster together
Beware of the pesticide paradox
Testing is context dependent
Absence-of-errors is a fallacy

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

Testing can show that defects are present, but cannot prove that

A

there are no defects.

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

Testing reduces the probability of undiscovered defects remaining in the software but,

A

even if no defects are found, testing is not a proof of correctness.

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

Testing everything (all combinations of inputs and preconditions) is not feasible except

A

for trivial cases.

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

What should be used to focus test efforts rather than attempting to test exhaustively?

A

risk analysis, test techniques and priorities

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

To find defects early, both static and dynamic test activities should be

A

started as early as possible in the software development lifecycle.

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

Early testing is sometimes referred to as

A

shift left.

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

Testing early in the software development lifecycle helps

A

reduce or eliminate costly changes

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

A small number of modules usually contains most of the defects discovered during pre-release testing or

A

is responsible for most of the operational failures.

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

Predicted defect clusters, and the actual observed defect clusters in test or operation,

A

are an important input into a risk analysis used to focus the test effort

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

If the same tests are repeated over and over again eventually these tests

A

no longer find any new defects.

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

(Pesticide Paradox) To detect new defects, existing tests and test data may

A

need changing, and new tests may need to be written.

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

What it is the beneficial outcome of the pesticide paradox in automated regression?

A

the relatively low number of regression defects.

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

Testing is done differently in different contexts. Mention al least two examples:

A

It depends of the business domain and the software development methodology used.

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