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

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

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

How To Test An Ember Model's Computed Property That Has Relations Dependencies?

I'm writing Qunit tests to test An Ember model, but having a hard time testing computed propert… Read more How To Test An Ember Model's Computed Property That Has Relations Dependencies?

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

What Are Some Javascript Unit Testing And Mocking Frameworks You Have Used?

My main JavaScript framework is jQuery, so I would like my unit test and mocking frameworks to be c… Read more What Are Some Javascript Unit Testing And Mocking Frameworks You Have Used?

Overriding Check Box In Javascript With Jquery

Help with unit testing checkbox behavior. I have this page: Read more Overriding Check Box In Javascript With Jquery

Testing For A Function That Contains Asynchronous Code

With qUnit, I understand how to use asyncTest() if you have asynchronous code within your tests, bu… Read more Testing For A Function That Contains Asynchronous Code