An Interest In:
Web News this Week
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
- April 18, 2024
March 30, 2022 12:57 am GMT
Original Link: https://dev.to/scc33/what-is-integration-testing-eb5
What is Integration Testing?
Background
Integration testing, also known as integration and testing, is the next step up from unit testing.
In unit testing, individual chunks of software are verified. Whereas, integration testing checks multiple components for correctness.
The goal of integration testing is to confirm software works in a group.
Integration testing makes common use of stubs and drives.
- A stub is a fake called program, it allows for the testing of the program calling the stub.
- A driver is a fake caller program, it allows for the testing of the program called by the driver.
Approaches to Integration Testing
There are four main approaches to integration testing.
- Big-bang: all the software modules are created and combined at once.
- Bottom-up: low-level components are tested by using drivers before high-level components.
- Top-down: first high-level modules are tested by using stubs before low-level components.
- Mix-integration (aka sandwich testing): a combination of the bottom-up and top-down approaches.
Advantage
- Integration testing is an important way of verifying that larger chunks of code and services work together as intended.
Disadvantage
- Integration testing often requires a significant amount of extra code in the form of stubs and drivers to be written.
Further Reading
Integration tests are just one kind of testing. My series on software testing and its methods covers many other testing variations.
Original Link: https://dev.to/scc33/what-is-integration-testing-eb5
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To