ASP.NET

TH15 ASP.NET MVC: All Your Tests Are Belong To Us

06/04/2015

1:30pm - 2:45pm

Level: Intermediate to Advanced

Rachel Appel

Senior Developer Evangelist

Microsoft

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