AhaBulb: Stuff Everyone Should Know · ahabulb.com/tech-unit-vs-integration-test
What is the difference between a unit test and an integration test?
- Unit tests check one module; integration tests check modules combined
- Unit tests are run by users; integration tests by computers
- They are two names for the same thing
🔒 The answer is for AhaBulb members. Members see the answer, why it's right and the official sources for every card of Stuff Every Technology Expert Should Know, plus timed practice exams.
The first 50 cards of every test are free to play.
Like this card?
References
- MIT 6.031 Software Construction, Reading 3: Testing web.mit.edu/6.031/www/sp22/classes/03-testing Checked 2026-10-10.
- MIT 6.031 Software Construction, Reading 3: Testing web.mit.edu/6.031/www/sp22/classes/03-testing Checked 2026-10-10.
- Python docs: unittest docs.python.org/3/library/unittest.html Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.