Integration Testing - PowerPoint PPT Presentation

1 / 18
About This Presentation
Title:

Integration Testing

Description:

Integration Testing Presented By Nesreen Ahmad *Main Points:- Definition Of Integration Testing. Procedure Of Integration Testing. Integration Testing Strategies. – PowerPoint PPT presentation

Number of Views:252
Avg rating:3.0/5.0
Slides: 19
Provided by: facultyQ7
Category:

less

Transcript and Presenter's Notes

Title: Integration Testing


1
Integration Testing
  • Presented By
  • Nesreen Ahmad

2
Main Points-
  • Definition Of Integration Testing.
  • Procedure Of Integration Testing.
  • Integration Testing Strategies.

3
Definition Of Integrated Testing
  • Detects faults that have not been detected
    during unit testing by focusing on small groups
    of components .

4
Procedure Of Integration Testing
  • Two or more components are integrated and tested,
    and when no new faults are revealed (discovered),
    additional components are added to the group.
  • This procedure allows the testing of increasingly
    more complex parts of the system while keeping
    the location of potential faults relatively
    small.

5
Integration Testing Strategies
  • Big Bang Testing.
  • Bottom-Up Testing.
  • Top-Down Testing.
  • Sandwich Testing.

6
Layer I
User Interface (A)
Layer I I
Billing (B)
Event Service (C)
Learning (D)
Layer III
Database (E)
Network (F)
Neural Network (G)
7
First Big Bang Testing
  • This strategy assumes that all components are
    first tested individually and then tested
    together as single system.
  • Advantage That no additionally test stubs or
    drivers are needed.
  • Disadvantage
  • 1- It is expensive.
  • 2- It is difficult to pinpoint the specific
    components (or combination of components).

8
Second Bottom-Up Testing
  • Strategy first tests each component of the bottom
    layer individually, and then integrates them with
    components of the next layer up.

9
User Interface (A)
Event Service (C)
Learning (D)
Billing (B)
Neural Network (G)
Network (F)
Database (E)
- Bottom-Up test strategy -
10
  • Advantage Interface faults can be more easily
    found.
  • Disadvantage Faults found in the top layer may
    often lead to change in the subsystem
    decomposition or in the subsystem interfaces of
    lower layers.

11
Third Top-Down Testing
  • Tests the components of the top layer first, and
    then integrates the components of the next layer
    down. When all components of the new layer have
    been tested together, the next layer is selected.

12
User Interface (A)
Event Service (C)
Learning (D)
Billing (B)
Neural Network (G)
Network (F)
Database (E)
- Top-Down test strategy -
13
  • Advantage It starts with user interface
    components.
  • Disadvantage
  • 1-The development of test stub is
    time-consuming and prone error.
  • 2- A large number of stubs is usually
    required for testing nontrivial systems.

14
Fourth Sandwich Testing
  • Combines the top-down and bottom-up strategies,
    attempting to make use of the best of both.
  • There are Three Layers-
  • 1-Target Layer (the meat).
  • 2-The Layer above the target layer.
  • 3-The Layer below the target layer.

15
Top Layer
Test A, B
Test A,B,C,D
Test A
Test A, C
Test A, D
Bottom Layer
Test D,G
Test G
Test F
Test B,E,F
Test E
Test A,B,C,D,E,F,G
- Sandwich Testing Strategy -
16
Top Layer
Test A, B
Test A,B,C,D
Test A
Test A, C
Test A, D
Target Layer
Test B
Test C
Test D
Bottom Layer
Test D,G
Test G
Test F
Test B,E,F
Test A,B,C,D,E,F,G
Test E
- Modified Sandwich Testing Strategy -
17
  • The advantage of modified sandwich
  • testing Many testing activities can be
    performed in parallel.
  • The disadvantage of modified sandwich testing Is
    needed for additional test stubs and drivers.

18
Thank You For Your Attention
Write a Comment
User Comments (0)
About PowerShow.com