Part 2: W09-2 Integration Testing Flashcards

1
Q

What is integration testing?

A

Testing interaction between modules.

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

What approaches exist for integration testing?

A
  1. Functional decomposition (Functional dependency)
  2. Call graph (Interaction dependency)
  3. Paths (Flow dependency)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the four types of Functional decomposition?

A
  1. Big Bang
  2. Top-Down
  3. Bottom-up
  4. Sandwich
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does Big Bang Functional decomposition work?

A

Integrate entire system then test entire system.

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

How does Top-Down Functional decomposition work?

A

Test top most function (main) then test the functions it calls.

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

How does Bottom-Up Functional decomposition work?

A

Test units at lowest level first then test function that call those lowest units.

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

How does Sandwich Functional decomposition work?

A

Test both main functions and lowest level functions and build towards the middle.

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

What are the pros and cons of Big Bang Functional decomposition?

A

Pros - everything is done before testing

Cons - may miss interface tests

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

What are the pros and cons of Top-Down Functional decomposition?

A

Pros - verifies major functions early

Cons - many stubs will be needed and they will be discarded late

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

What are the pros and cons of Bottom-Up Functional decomposition?

A

Pros - verifies data processing first, no stubs needed

Cons - many driver modules needed

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

How does Pair-Wise Call Graph based integration work?

A

Testing is restricted to two units (one does calling, one does receiving)

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

How does Neighbourhood Call Graph based integration work?

A

Testing units are restricted to direct neighbours in call graph.

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

How does Path based test integration work?

A

Create tests based on module execution.

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

What is an MM-Path?

A

Interleaved sequence of Module Execution Paths (MEPs)

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

What is an MEP?

A

Module Execution Path: sequence of statements from source to sink node

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