.net - Proper or optimized test way within asp.net web api application -
we have asp.net web api application, in used architecture:
presentation layer
bll layer
- dal layer
we discussed, me , colleges, tdd , how can used in our project :
my approach
i see have test bll layer adding full unit tests list, then test presentation layer
other opinion
we have test services(presentation layer). if test failed then, test methods(in bll) have relation service
so discussion
proper vs optimized way
so need know
- what best approach between them?
- can size , type of project interfers in comparison?
thanks,
in bl, dal should injected dependencies , should using dependency injection container unity. reason being, unit tests shld have no dependency databases. when bl tests isolated databases tests can run fast too
Comments
Post a Comment