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
Post a Comment