The Fundamentals of Integration Testing

Page 1

The Fundamentals of Integration Testing

Integration testing is the stage in which a software application is tested entirety, using a fully functional version of all the dependent components. Whereas in code dependencies development, unit evaluations are spelled outside, code dependencies in the integration testing phase are fully functional. Integration testing is the area where the code and all its parts are confirmed to work based on expectation. Integration testing is where everything comes together. It is the area where all the functionality of the program is tested.

Understanding the Scope of Testing

The very first order of business in Integration Testing is establishing the border of the code under test. By way of example, if the intention of the Integration Test is to test the performance of consumer interaction with a program, the boundary of testing is going to be the software Graphical User Interface (GUI). That testing boundary will be the program's web pages viewed via a browser. In the event of native programs running on a mobile device or desktop computer, the border is the program GUI directly on the operating system.

When Integration Testing an API, the border will be endpoints published by the given API. The boundary of Integration Testing for a component that's constituent dependencies would be the resources and processes of the component if the part is an object-oriented binary. If the part is an executable file or script, then the boundary of Integration Testing is the command-line invocation of the script including its own parameters.

Types of Integration Testing:

Black Box Testing

In Black Box testing, the way the code works is hidden from the evaluation. The only things apparent is the data that goes into a component and the information that comes out. Thus, integration evaluations will send in some data and confirm the output adheres to the expectations defined in the test program. Thus, a whole lot of thought needs to be given to the width of testing making sure that all good and bad behaviours are expected.

Gray Box Testing

Nonetheless, besides providing input and assessing output, in a Gray Box situation the machine emits information during the evaluation that may also be gathered and examined to verify that


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.