We have an asp.net web api application, in which we used this architecture:
Presentation Layer
BLL layer
- Dal Layer
We discussed, me and my colleges, about TDD and how can we used it in our project :
My Approach
I see that we have to test the BLL layer by adding full unit tests list, Then we test the presentation layer
Other opinion
We have only to test the services(presentation layer). If a test failed then, we test only the methods(in bll) which have relation with this service
So the discussion is about
Proper vs optimized way
So I need to know
- What is the best approach between them?
- Can the size and the type of the project interfers in this comparison?
Thanks,