.net - Proper or optimized test way within asp.net web api application -


we have asp.net web api application, in used architecture:

  1. presentation layer

  2. bll layer

  3. 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

  1. what best approach between them?
  2. 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

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -