Last couple of months I am working on ASP.NET MVC 3 application. The applications developers testing(Not Unit Testing), QA, UAT, all completed. We are now waiting for the deployment for the client.
Now the project manager wants to make unit testing. So according to his decision, we have started writing Unit Test scripts for all controllers and provider methods.
Writing unit test scripts on providers are pretty straight forward and does not create any hazard. But writing scripts for controller and passing the test cases is really painful.
In this post, i will try to focus on controller testing and some common problem that developers faces during unit test of controller.
to be continued....
Now the project manager wants to make unit testing. So according to his decision, we have started writing Unit Test scripts for all controllers and provider methods.
Writing unit test scripts on providers are pretty straight forward and does not create any hazard. But writing scripts for controller and passing the test cases is really painful.
In this post, i will try to focus on controller testing and some common problem that developers faces during unit test of controller.
to be continued....
No comments:
Post a Comment