JavaScript / HTML5 Client

TH17 Unit Testing JavaScript Code in Visual Studio .NET


3:00pm - 4:15pm

Level: Intermediate

Allen Conway

Lead Consultant


The server side code in .NET is getting love with unit testing, but what about the client code? With the advent of powerful JavaScript frameworks and the creation of JavaScript applications containing much more client side code then with purely server side Web technologies implementations of the past, you have to shift focus to unit test this code as well. In this session, you'll learn about the importance of unit testing along with using Chutzpah and Jasmine within the comfortable confines of Visual Studio .NET to create and test our JavaScript code.

You will learn:

  • The importance of testing client side JavaScript code and not only the server side code
  • How to setup Visual Studio .NET to unit test JavaScript code
  • The basics of testing with Chutzpah and Jasmine in Visual Studio .NET