Presentation is loading. Please wait.

Presentation is loading. Please wait.

Integration Testing Presented By Nesreen Ahmad. *Main Points:-  Definition Of Integration Testing.  Procedure Of Integration Testing.  Integration.

Similar presentations


Presentation on theme: "Integration Testing Presented By Nesreen Ahmad. *Main Points:-  Definition Of Integration Testing.  Procedure Of Integration Testing.  Integration."— Presentation transcript:

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 Database (E) Layer III User Interface (A) Layer I I Billing (B)Event Service (C)Learning (D) 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) Learning (D) Event Service (C) Billing (B) Network (F) Neural Network (G) 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) Learning (D) Event Service (C) Billing (B) Network (F) Neural Network (G) 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 Test A Test A,B,C,D Test A, D Test A, C Test A, B Test G Test A,B,C,D,E,F,G Test B,E,F Test D,G Test F Test E - Sandwich Testing Strategy - Top Layer Bottom Layer

16 Test A Test A,B,C,D Test A, D Test A, C Test A, B Test G Test A,B,C,D,E,F,G Test B,E,F Test D,G Test F Test E - Modified Sandwich Testing Strategy - Test B Test C Test D Top Layer Bottom Layer Target Layer

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


Download ppt "Integration Testing Presented By Nesreen Ahmad. *Main Points:-  Definition Of Integration Testing.  Procedure Of Integration Testing.  Integration."

Similar presentations


Ads by Google