1.3 Testing Principles Flashcards

1
Q

1.

A

Testing shows the presence, not absence of defects.

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

Testing reduces the

A

probability of defects remaining undiscovered in the test object, but even if no defects are found, testing can’t prove test object correctness.

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

2.

A

Exhaustive testing is impossible.

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

Rather than attempting to test exhaustively,

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
5
Q

3.

A

Early testing saves time and money.

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

Defects removed early …

Quality cost will be …

To find defects early …

A

in the process will not cause subsequent defects in derived work products.

reduced since fewer failures will occur later in the SDLC.

Static testing and dynamic testing should be started as soon as possible.

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

4.

A

Defects cluster together.

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

A small number of …

Illustrated example of …

Predicted defect clusters and actual defect clusters observed during …

A

system components usually contain most of the discovered defects or are responsible for most of the operational failures.

Pareto principle.

testing or in operation are important input for risk-based testing.

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

5.

A

Tests wear out.

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

If the same tests are …

To overcome this effect …

However, in some cases …

A

repeated many times, they become increasingly ineffective in detecting new defects.

existing tests and test data, may need to be modified and new tests may need to be written.

repeating the same tests can have a beneficial outcome, e.g. in automated regression testing.

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

6.

A

Testing is context dependent.

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

Testing is done

A

differently in different contexts.

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

7.

A

Absence-of-defects fallacy.

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

It is a fallacy …

Thoroughly testing all the specified requirements and fixing all the defects found could still …

In addition to verification …

A

(Misconception) to expect that software verification will ensure system success.

produce a system that doesn’t fulfill the users’ needs and expectations, that doesn’t help in achieving the customer’s business goals, and that is inferior to other competing systems.

validation should also be carried out.

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