Posts tagged "Unit Testing"

April 09 2015

Unit Testing in AngularJS with Mocha, Chai, Sinon & ngMock

An overview and example showing how the different AngularJS unit testing tools and libraries fit together.
March 06 2015

AngularJS - Unit Testing code that uses $timeout

A quick example of how to unit test AngularJS components that use the $timeout service.
April 28 2014

Moq - Get Setup() to return a dynamic collection from a fake repository

Read on if you're confused about why your mock repository keeps returning the initial collection even though you've added something to it!
Sponsored by