Testing principles (K2) Flashcards

1
Q

Testing shows the presence, not the absence of defects - explain

A

Testing can show that defects are present in test object, but cannot prove that there are no defects.
Testing reduces the probability of defects remaining undiscovered in the test object.
Even if no defects are found, testing cannot prove test object correctness.

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

Exhaustive testing is impossible - explain

A

Testing everything is not feasible except in trivial cases. Rather than attempting to test exhaustively, 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
3
Q

Early testing saves time and money - explain

A

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.

To find defects early, both static and dynamic testing should be started as early as possible.

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

Defects cluster together - explain

A

A small number of system components usually contain most of the defects discovered or are responsible for most of the operational failures. The phenomenon is an illustration of the Pareto priciple.
Important input for risk-based testing.

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

Tests wear out - explain

A

If same tests are repeated many times, they become increasingly ineffective in detecting new defects.
To overcome this effect, existing tests and data may need to be modified.
Repeating the same tests in some cases may be beneficial - e.g., in automated testing.

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

Testing is context dependant - explain

A

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

Absence-of-defects fallacy - explain

A

It is a fallacy to expect that software verification will ensure the success of a system - testing all the specified requirements and fixing all the defects found could still produce a system that does not fulfill the users’ needs and expectations

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