2๏ธโฃIntegration Testing
Last updated
Last updated
A typical software project consists of multiple software modules, coded by different programmers. The purpose of this level of testing is to expose defects in the interaction between these software modules.
Integration testing ๐งช involves testing combinations of integrated software components or units๐ฅ to determine if they function correctly together as a whole.
The goal is to expose defects in the interfaces and interactions between integrated units.
๐ It verifies:
Functional ๐คand non-functional behavior๐
Components call ๐ and access each other's methods๐
Data is passed between them accurately โ
Exceptions are handled properly ๐ โโ๏ธ
๐ To find defects in interactions between integrated units:
๐ Unit testing ensures individual components work correctly in isolation
๐ Integration testing ensures they work together as designed
๐งฟ To verify interfaces between components:
๐ Integration testing focuses on interfaces and interactions
๐ It exposes issues in how units call and pass data to each other
๐ Finds defects earlier
โข Integration issues are detected before system testing
๐ Ensures units work together
โข In unit testing, units are tested individually
โข Integration testing verifies they integrate properly
๐ Detects regression errors
โข Regressions often occur at integration points
๐ Time consuming
โข Large number of component combinations
๐ Hard to isolate errors
โข Defects may originate from multiple units
๐ฐ Expensive
โข Requires integrated environments and resources
In summary, while integration testing adds time and cost, it helps ensure that:
๐ป Components interact correctly
๐ฅ Units function together as designed
โ Systems integrate without issues
TC-001
Login feature integration
1. Enter valid username
User should be directed to password screen
โ
Pass
2. Enter valid password
2. User should be directed to home screen