Lec3-4 Flashcards

1
Q

Testing goals?

A
  1. To show to the developer and customer that the software is meeting it’s requirements
  2. To discover situations where the software is behaving in an undesirable way or does not conform to its specifications
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the first goal of testing lead to?

A

Validation testing: You expect the system to perform correctly using a given set of test cases. A successful test shows that the system operates as intended.

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

What does the second goal of testing lead to?

A

Defect testing: Defect testing is concerned with rooting out undesirable system behavior such as system crashes, incorrect computations and data corruption.
Test cases in defect testing can be deliberately obscure and need not reflect how the system is normally used. A successful test is a test that makes the system
perform incorrectly and so exposes a defect in the system.

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

What is verification

A

VERI-PRO-RI

Are we building the product right?

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

What is validation

A

VALI-RI-PRO (Valley repo deez cars)

Are we building the right product?

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

Aim of V&V

A

To establish confidence that the system is fit for purpose. Depends on software purpose, user expectations and marketing environment.

Software purpose: The level of confidence depends on how critical the software is to an organization.
User expectations: Users may have low expectations of certain kinds of software. (this is worthless don’t even memorize it)
Marketing environment: Getting a product to market early may be more important than finding defects in the program.

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

What are inspections? (V&V checking approach)

A

Concerned with analysis of the static system representation to discover problems (static verification)

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

What is software testing? (V&V checking approach)

A

Concerned with analyzing and observing the product’s operational behavior (dynamic verification)

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

Unit testing

A

Where individual program units or object classes are tested

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

Component testing

A

Where several individual units are integrated to create

composite components. Component testing should focus on testing component interfaces.

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

System testing

A

Where some or all of the components in a system are

integrated and the system is tested as a whole.

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

White box testing

A

Deriving tests from the source code internals of the software

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

Black box testing

A

Deriving tests from external descriptions of the software i.e. testing from the outside without knowledge of how the software works internally

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