How to run ASP.NET/MVC unit test cases to run on IIS?
What are the steps that i need to folllow?
when i run the test cases from the Visual Studio i need to decorate my testcases with the following attributes
/// <summary>
///A test for Index
///</summary>
[TestMethod()]
[HostType("ASP.NET")]
[AspNetDevelopmentServer("%PathToWebRoot%","%PathToWebRoot%")]
[UrlToTest("http://localhost:4146/")]
public void IndexTest()
{
}
Here when on running on the server, can i remove those atttributes?
How to run this and see the output? is there any work around for this?