c# - Unit Testing with ASP.NET MVC 5 and Web API -


i new unit testing.. first of want know how unit testing in asp.net mvc.

in project using mvc5 , web api2. want implement unit testing within project.

can of tell me how start , provide me links approach?

check this:

http://www.developerhandbook.com/2013/08/30/csharp-writing-unit-tests-with-nunit-and-moq/

-it introduction mocking , aaa approach.

you can use nsubstitute instead of moq if want - more popular , can find more examples nsubstitute.


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -