Web Development

TH17 ASP.NET MVC: All Your Tests Belong To Us


2:15pm - 3:30pm

Level: Intermediate to Advanced

Rachel Appel

Senior Developer Evangelist


You've spent time and effort to build a website, and you must verify that it works correctly. But you might be tired of manually testing Web pages, which is also an error prone process in itself. Have you ever asked yourself if there must be an easier way? Would you like to learn how test all facets of an ASP.NET Web Application? From C# on the server side, to JavaScript on the client, complete with automated UI testing? In this session, you'll learn everything you need to know about how to properly test ASP.NET MVC Applications. We'll review testing server side controllers with xUnit, followed by a look at testing JavaScript in MVC Views with qUnit. Once we've covered unit testing, then we'll move onto UI automation testing with WebDriver. You'll learn everything you need to know about how to get up and get testing.

You will learn:

  • About the basics of unit and automated UI testing
  • How to unit test with xUnit, qUnit, and automate with WebDriver
  • Best practices for testing