What distinguishes a unit test from an integration test?
Answer options
A
Unit tests are written by QA; integration tests by developers
B
Unit tests verify a single component in isolation; integration tests verify interactions between components
C
Unit tests run in production; integration tests run in development
D
Unit tests are slower than integration tests
Correct answer: Unit tests verify a single component in isolation; integration tests verify interactions between components
Explanation
Quick AnswerThe correct answer is Unit tests verify a single component in isolation; integration tests verify interactions between components because it directly addresses the core logic of Software Engineering.
This question has been retained as-is due to its unique context.