12 Integration Testing Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Unit Testing

A

Modules are individually tested

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

Software Module

A

Self contained element of a system

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

The Objective of Integration Testing

A

To Build a “working” version of the system.

Putting Modules together in an incremental manner.
Ensuring that the additional modules work
as expected without disturbing the functionalities of the modules already put together.

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

Integration testing is said to be completed when . .

A

The system is fully integrated together.
All the test cases have been executed.
All the severe and moderate defects found have been fixed.

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

Advantages of Integration Testing

A

Defects are detected early.
Easier to fix defects detected earlier.
Get Earlier Feedback on the health and acceptability of the individual moduels.
Scheduling of defect fixes is flexible and it can overlap with development.

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

Different Types of Interfaces.

A

3 Common Paradigms for Interfacing Modules:
- Procedure/Method call interface.
- Shared Memory Interface
- Message Passing Interface.

Interface Errors.

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

Granularity of System Integration Testing

A

Intra-System Testing
Inter-System Testing
Pairwise Testing

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

Intra System Testing

A

Low-Level integration testing with the objective of combining the modules together to build a cohesive system.

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

Inter-System Testing

A

High-Level testing phase which requires intefacing independently tested systems.

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

Pairwise testing

A

Only two interconnected systems in an overall system are tested at a time.

To ensure that two systems under consideration can function together.

Assume that the other system withikn the overall envirnoment behave as expected.

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

Common Approaches for IT.

A

Incremental
Top-down
Bottom-up
Big-Bang
Sandwich

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

Incremetnal Integration Testing

A

Testing is conducted in an incredmental manner as a series of test cycles.

In each test cycle, a few more modules are integrated with an existing and tested build to generate larger builds.

The complete system is built, cycle by cycle until the whole system is operational.

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

Top-down Advantages

A

Can continually observe system-level functions as the integration process continue.

Isolation of interface erros becomes easier because of the incremental nature of the top-down integration.

Test cases designed to test the integration are reused during regression tests peformed after integrating other modules.

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

Top-down Disadvantages

A

Absence of lower level modules and the presence of stubs may not be possible to oberve meaningful system functions.

Test case selection and stub design become increasingly difficult. (Stubs lie far away from top level modules)

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

Bottom-up Advantages

A

Easy to design a driver because you can get it by simplifying getting the behavior of the actual module.

If the low-level modules and their combined functions are often invoked by other modules, it is more useful to test them first so that meaningful effective integration of other modules can be done.

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

Bottom-up Disadvantages

A

Discovery of major faults are detected towards the end of the integration process, because major design decision are embodied in the top-level modules.

Can not observe system level functions from a partly integrated system.

17
Q

Big-bang approach

A

First all the modules are individually tested.

Next all those modules are put together to construct the entire system which is tested as a whole.

Sometimes developers use the big-bang approach to integrate small systems.

For Large Systems (Not Recommended)

18
Q

Sandwich Approach

A

A system is integrated using a mix of top-down, bottom-up, and big-bang approaches.

A hierarchical system is viewed as consisting of three layers.

Bottom-up approach is applied to bottom-layers
Top-down approach is applied to top layers.
Middle layer is integrated by using the big-bang approach.

19
Q

Integration is often done in an ___

A

Iterative Manner

20
Q

Hardware and Software Compatibility Matrix

A

Maintains hardward and software compatibility info.
Documents different revisions of hardware and software.

21
Q

Engineering Change Order (ECO)

A

A formal document that describes a change to the hardware and software.

It includes the hardware software compatibility matrix.

It is distributed to the operation, customer support and sales teams of the organization.

22
Q

COTS component

A

A unit of composition with contractually specfied interfaces and explicit context dependencies only.

A software component can be deployed indpendently and is subject to composition by 3rd parties.

23
Q

Three Types of testing techniques to determine the suitability of a COTS component:

A

Black-box component Testing
System-levle fault Injection Testing
Operational System Testing