nerdexam
Scrum

PSD · Question #170

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

The correct answer is C. Includes exercising the persistence layer. you don't want your unit test to really make changes so it cannot exercise the real persistence

Test Driven Development

Question

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

Options

  • AExecution is fast
  • BIndependent of others
  • CIncludes exercising the persistence layer
  • DMakes assertions about only one logical concept

How the community answered

(30 responses)
  • A
    7% (2)
  • C
    90% (27)
  • D
    3% (1)

Explanation

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

Topics

#unit testing#test isolation#persistence layer#test characteristics

Community Discussion

No community discussion yet for this question.

Full PSD Practice