Skip to Main Content
ASP.NET MVC 4 in Action
book

ASP.NET MVC 4 in Action

by Matthew Hinze, Jeremy Skinner, Jeffrey Palermo, James Bogard, Eric Hexter
May 2012
Intermediate to advanced content levelIntermediate to advanced
440 pages
13h 54m
English
Manning Publications
Content preview from ASP.NET MVC 4 in Action

Chapter 20. Full system testing

 

This chapter covers
  • Testing a web app with browser automation
  • Examining simple, but brittle, tests
  • Building maintainable, testable navigation
  • Leveraging expression-based helpers in tests
  • Interacting with form submissions

 

ASP.NET MVC ushered in a new level of testability for.NET web applications. Although testing a controller action is valuable, the controller action itself is only one piece of ASP.NET MVC’s request pipeline. Various extension points can be used, such as action filters, model binders, custom routes, action invokers, controller factories, and so on. Views can also contain complex rendering logic, unavailable in a normal controller action unit test. With all of these moving pieces, you need ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming ASP.NET MVC 4

Programming ASP.NET MVC 4

Jess Chadwick, Todd Snyder, Hrusikesh Panda
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek
ASP.NET Core and Vue.js

ASP.NET Core and Vue.js

Devlin Basilan Duldulao

Publisher Resources

ISBN: 9781617290411Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link