Advanced Unit Testing Techniques in JavaScript
In this tutorial, Guido Kessels will introduce you to some of the more advanced techniques available to you. As this tutorial will cover some advanced topics, he assumes you’ve already created unit tests before and are familiar with the basics and its terminology. We’ll be using SinonJS. This is a standalone framework which provides an API for mocks, stubs, spies and more. You can use it with any testing framework of your choosing, but for this tutorial, we’ll be using BusterJS, as it ships with SinonJS built-in.