A discussion question exploring whether Data Transfer Objects (DTOs) require unit tests. The author proposes a middle-ground approach: plain DTOs without logic don't need tests, but DTOs with validation, transformation, or non-trivial mapping should be tested as they contain behavior. The post seeks community input on testing

1 Comment

Sort: