1.3 Testing Principles Flashcards

1
Q

Testing Principles:
1. Testing shows the …

A

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 probability of defects remaining …

But even if no defects are found …

A

undiscovered in the test object

testing can’t prove test object correctness.

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

Testing Principles:
2. Exhaustive

A

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:
- test t…
- test c…
- risk-b…

A
  • test techniques
  • test case prioritization
  • 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

Testing Principles:
3. Early …

A

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 in the process will not cause subsequent …

A

defects in derived work products.

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

Quality cost will be …

A

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

To find defects early …

A

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

Testing Principles:
4. Defects …

A

cluster together.

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

A small number of system components usually contain most … or are responsible for most…

A

of the discovered defects
of the operational failures.

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

Illustrated example of …

A

Pareto principle.

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

Predicted defect clusters and actual defect clusters observed during … are important input …

A

testing or in operation
for risk-based testing.

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

Testing Principles:
5. Tests …

A

wear out.

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

If the same tests are … they become increasingly …

A

repeated many times,
ineffective in detecting new defects.

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

To overcome this effect, existing … and new tests may …

A

tests and test data may need to be modified

need to be written.

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

However, in some cases repeating the same tests … e.g. in automated …

A

can have a beneficial outcome,
regression testing.

17
Q

Testing Principles:
6. Testing is c…

A

context dependent.

18
Q

Testing is done differently in …

A

different contexts.

19
Q

Testing Principles:
7. Absence-of-…

A

defects fallacy.

20
Q

It is a fallacy (i.e. a misconception) to expect that software verification will …

A

ensure system success.

21
Q

Thoroughly testing all the specified requirements and fixing all the defects found could still produce a system that:
- does not fulfill…
- does not help in…
- is inferior…

A
  • the users’ needs and expectations
  • achieving the customer’s business goals
  • compared to other competing systems
22
Q

In addition to verification …

A

validation should also be carried out.