Can any one give me the example to unit test the ASP.NET MVC view? IS it possible to unit test the view page?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no point in views’ unit-testing because it is an representation object, there should be no logic which should be unit tested.
To test representations it’s better to choose another testing technics like functional testing. There are different tools for that, for example Selenium and Cucumber.