Skip to content Skip to sidebar Skip to footer
Showing posts with the label Qunit

Obtaining $httpbackend In Qunit Tests

I am writing QUnit tests for an Angular controller. In the setup function of module, I have written… Read more Obtaining $httpbackend In Qunit Tests

Extending Backbone.collection Prototype

Following on from this question, I'm trying to augment Backbone.Collection with some custom met… Read more Extending Backbone.collection Prototype

Asserting That A Function Throws Exceptions With Qunit

I am new to Qunit and unit testing. I am trying to figure out what and how to test the following fu… Read more Asserting That A Function Throws Exceptions With Qunit