I want to unit test a webpage which is obviously outside the App_code folder.
What is the best way to do this?
I want to unit test a webpage which is obviously outside the App_code folder.
What is the best way to do this?
It depends on what you are actually testing, there are test for HTML output, but maybe in ASP.Net MVC what you would like to test is the controllers. If you are testing data results, then your tests are performed even outside of the project. Testing aspx files are actually difficult to test because there are so many things intermingled that there is no one tool to test them all in single method.