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
Detailed Solution & Conceptual Analysis
This question has been retained as-is due to its unique context.
Key Engineering Takeaway
In Software Engineering, understanding the underlying mechanics of Software Engineering is critical for writing performant, bug-free production code and passing rigorous technical architecture reviews.