PSD · Question #118
What are two differences between unit tests and integration tests?
The correct answer is D. A unit tests isolates a specific system behavior E. An integration test may be composed of unit tests. Unit tests are testing the smallest units of code possible and integration tests are testing the components of the system together. Unit tests aims at isolated pieces of behavior and integration tests could be composed of unit tests to test components.
Question
What are two differences between unit tests and integration tests?
Options
- AA unit tests only runs on the developer's computer
- BA unit test is automated
- CAn integration test runs overnight
- DA unit tests isolates a specific system behavior
- EAn integration test may be composed of unit tests
How the community answered
(33 responses)- A3% (1)
- B6% (2)
- C3% (1)
- D88% (29)
Explanation
Unit tests are testing the smallest units of code possible and integration tests are testing the components of the system together. Unit tests aims at isolated pieces of behavior and integration tests could be composed of unit tests to test components.
Topics
Community Discussion
No community discussion yet for this question.