Test Automation Everywhere
Play Test Automation Everywhere
The MVC pattern in ASP.NET applications is a popular agile development pattern, thanks to a clean separation of concerns between the models, views and controllers within an application. To test each of the components of an MVC app however, you need to perform different kinds of testing: unit testing on the model, integration testing on the controller and UI testing on the view. With Visual Studio 2010, you get a single integrated experience to create, run and maintain all of this testing using multiple test types like unit tests and the new coded UI tests run using mstest. In this walkthrough, we create tests targeting all components of a sample ASP.NET MVC app in one test project within VS that is checked in under the app source code solution and run the tests together to ensure test coverage at all levels in a single test run.