I\'m currently looking into unit testing for a new application I have to create. I\'ve got the basic testing going nicely (testing the ActionResult classes is pretty nice). One
Knowing that the view exists in the solution is not terribly useful. What you really care about is that the view will be deployed, since your users (I hope) don't run your site within Visual Studio. In other words, what you are asking for is not a unit test, but an integration test. Therefore, you should use an appropriate tool for the job. Consider a web testing framework like Selenium.