PSD practice question 21 of 25

What is not a desirable characteristics of a unit test? Test code is as small as possible

Full set: 163 questions
Answer options
A: Execution is fast
B: Independent of others
C: Includes exercising the persistence layer Correct answer
D: Makes assertions about only one logical concept
Correct Answer:
C. Includes exercising the persistence layer
Explanation

you don't want your unit test to really make changes so it cannot exercise the real persistence layer.

Scroll to Top