What is the example for difference between integration test and regression tests?

327 Views Asked by At

Integration test checks that when units are combined, the systems fucntions well.

Regression tests also do the same. What is the example for difference between these?

1

There are 1 best solutions below

1
Raj On

Integration testing - When combining units together that interact with each other you need to conduct Integration testing to make sure that integrating these units together has not introduced any errors.

Regression testing - after integrating (and maybe fixing) you should run your unit tests again. This is regression testing to ensure that further changes have not broken any units that were already tested. The unit testing you already did has produced the unit tests that can be run again and again for regression testing.