Lecture 19: Software Testing Techniques Flashcards

1
Q

What is a test case?

A

Explicit set of instructions designed to detect a particular class of defect in a software system

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

What is a test plan?

A

Document that contains a complete set of test cases for a system
Should be written before testing starts

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

What does a formal test case have?

A

Identification and classification (Number and title, importance should be indicated)
Instructions
Expected results

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

What is unit testing?

A

Verify the module-level functionality works
Independent, short code fragments that test an interface or individual module

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

What are stubs?

A

Needed to simulate missing lower level modules

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

What are drivers?

A

Needed to simulate missing calls from the higher level modules

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

What is integration testing?

A

Verify (unit tested) modules perform correctly when integrated together
Initially all programs to be integrated are first stubbed out
In a predetermined order, a series of test programs are generated with the unit tested routines replacing the stubs

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

What is systems testing?

A

Verify all elements of a system (hardware and software) behave and perform properly

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

What is acceptance testing?

A

Ensure that the entire system meets all user requirements

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

What is regression testing?

A

Set or subset of all tests that are re-run after any change or commit
Cover as much of the system as possible
Prevent regressions: system reverting to an earlier, incorrect state

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

What is big bang testing?

A

Each module is first tested in isolation
The entire system is then assembled and tested as a unit
Low probability of working
Hard to isolate defects

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

What is top down testing?

A

Only the top module is tested in isolation
Stubs are used as placeholders for lower-level modules
Program modules are merged from top to bottom
As each new module is integrated, the entire system is tested

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

What is bottom up testing?

A

Modules are merged and tested from the bottom to top
Drivers used as placeholders for higher-level modules
Only modules tested in isolation are the terminal modules

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

What is sandwich testing?

A

Test the top module and terminal modules in isolation
Work both ways, top down and bottom up

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