I am creating an n-tire application following DDD. I have test projects for each individual layer. Right now I am using FakeItEasy to create mocks and stabs to run domain tests because I still haven't implemented my data access layer.
My question is, should I keep using mocks and stabs to test domain layer even after implementing data access layer so the test data is not depending on DAL ? Or should I use actual data retrieved through DAL to run domain tests?
Thanks!
Aucun commentaire:
Enregistrer un commentaire