+ 1
how do i learn unit testing in c#
links , pdfs , textbooks...any suggestion
3 Answers
+ 2
Maybe the MSDN resources. David Carroll what is the equivalent of JUnit for C#?
+ 2
There are a lot of articles that explain the basics for getting started.
Start with Google searching XUnit and NUnit.
Things get a little more mind bending for those who aren't familiar with Dependency Injection (DI) Containers and the Inversion of Control (IoC) Pattern, which is a strong part of making your entire code testable in isolation of dependencies.
I recommend SimpleInject. Despite its name, it's still quite powerful and exactly what is needed without making things more complicated than they need to be.
I could get into more complexities, but they may not be necessary until you've got a handle on the basics with using either XUnit or NUnit.
+ 1
thanks , i'll check it out