Chapter 1 Testing Principles Flashcards

A specific section devoted to these concepts from Chapter 1

1
Q

Testing Principles

Name the Seven Principles

A
  1. Shows presence, not absence, of defects
  2. Defects cluster together
  3. Absence-of-defects fallacy
  4. Early testing saves resources
  5. Exhaustive testing is impossible
  6. Tests wear out
  7. Testing is context dependent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Testing Principles

What do tests expose?

A

The presence of defects. (Not the absence of defects)

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

Testing Principles

What is the Pareto Principle?

A

Predicted and actual defect clusters observed during testing are key input for risk-based testing

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

Test Principles

What is the Absence-of-defects fallacy?

A

The misconceptions that software verification can ensure:
* The success of the system
* Business expectations will be met

Validation needs to be carried out as well.

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

Testing Principles

Early testing saves time and money. Why?

A
  • Defects that are removed early will not cause more defects later on.
  • Failures will be reduced

(Extra Credit: Both static and dynamic testing should be used to detect defects)

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

Testing Principles

Why is exhaustive testing impossible?

A

Testing everything is not possible.

Instead, utilize:
* Prioritization
* Risk-based testing

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

Testing Principles

Why do tests wear out?

A

If tests are repeated too much, they lose their effectivity.

However, such tests can be used as regression tests.

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

Testing Principles

What is context dependence for tests?

A

There is no universality to testing approaches

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

Testing Principles

What is context dependence for tests?

A

There is no universality to testing approaches

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

Testing Principles

What do tests expose?

A

The presence of defects. (Not the absence of defects)

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

Testing Principles

Testing shows the absence of defects

True/False

A

False

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