 | | Houston TechFest Sessions | |
|  |
| |
ASP.NET MVC in Action - Testing the Last Mile with UI Testing |
| | .NET 2 | | September 26, 2009 09:50 AM - 11:05 AM | | Jimmy Bogard, Headspring Systems | The ASP.NET MVC framework greatly improved the web testability story in .NET, allowing for testing of the various components of MVC including controllers, filters, binders and more. But testing these components in isolation still doesn't prove that your site works as a whole. Action methods tested by themselves don't prove that the view shown has the correct information on it, or that links work as expected. For these types of tests, an end-to-end, browser-based test is needed. But just as it is difficult to test APIs not designed for testability, views not designed for testability can lead to brittle, difficult to understand tests. In this session, we'll look at the popular UI testing frameworks, and pros and cons of each. We'll also look at design for UI testability in our MVC application, and how we can greatly ease our testing burden with design techniques in our views. Finally, we'll look at UI test design as a whole, and examine how we can develop a complete UI testing strategy that eliminates the difficulty in testing the last mile. |
|
| |
|
|
|