Web Unleashed 2014

2014-09-17 00:00:00 2014-09-19 00:00:00 America/Toronto Web Unleashed 2014 By attending Web Unleashed, you will get up-to-date on the skills to push you ahead in your career. You'll also have the opportunity to network and share ideas with like-minded professionals. Toronto FITC Toronto


Building complex software application can be made much easier with unit testing – a fact well established in back-end work but often overlooked on the front-end. Yuri Takhteyev will look at some of the tools and techniques for unit testing front end code, focusing on Mocha and Karma. Most of the examples will draw on AngularJS but the main ideas are applicable to other frameworks as well.


Learn how to write unit tests for front-end code.

Target Audience

Front-end JavaScript developers not currently using unit testing or those experiencing difficulties with unit testing.

Assumed Audience Knowledge

Intermediate front-end JavaScript, no prior experience with front-end unit testing

Five things audience members will learn

  1. How unit testing benefits the developer
  2. How to structure applications to make them testable
  3. How to use Mocha and Karma in unit testing
  4. How to mock dependencies (and why)
  5. How to handle asynchronous code