TDD with layered architecture, while only unit testing domain logic

by Joe Gage   Last Updated July 04, 2018 20:05 PM

Our project have a lot of layers,

Entities Repositories UnitOfWorks Domain Services (Business Logic) Validation Infrastructure Application Services etc..

We are only writing unit tests for Business Logic layer and mocking other parts. Is it possible and reasonable to do TDD in this case? (All Business Logic classes consuming other classes via DI with constructor injected dependencies)



Related Questions


Are all dependancies creater at the layer below?

Updated June 14, 2017 21:05 PM



Handling a validation error

Updated June 15, 2017 18:05 PM

Using Custom Asserts in Unit Tests

Updated August 17, 2017 14:05 PM