Unit Tests vs Integration Tests

Integration tests reveal if a feature is working or not but aren’t much use locating the problem.

Unit tests tell you if a single piece of code functions as expected.

 

https://stackoverflow.com/questions/5357601/whats-the-difference-between-unit-tests-and-integration-tests

and

https://stackoverflow.com/questions/10752/what-is-the-difference-between-integration-and-unit-tests