Can anyone advise on how to do a effective unit test and static code analysis for .net codes.
are there any rules of thumbs to follows? And is it relevant to bring in tools like selenium etc?
There are some thing like hardcoding, uncaught exceptions etc which i hope can be sniff out during unit testing phase.
Thanks
Nunit is the best automated testing tool for unit testing .net applications. And the best part is you write .net code on nunit to test .net code. Please visit nunit.org for more info on how to use it.
Also if you are concerned about best code practices for .net there is something called FxCop that does a check on your code. So check it out. It’s one of the best code reviewing tool available for visual studio.