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

Qunitjs-tests Don't Start: Phantomjs Timed Out, Possibly Due To A Missing Qunit Start() Call

I have set up my test environment as described here with QunitJS + PhantomJS + GruntJS: http://jord… Read more Qunitjs-tests Don't Start: Phantomjs Timed Out, Possibly Due To A Missing Qunit Start() Call

While Unit Testing I Frequently Require To Test Internal (private) Logic, What Is The Best Practice For This?

I believe everyone encounters a case when there's necessity to test internal wiring of the clas… Read more While Unit Testing I Frequently Require To Test Internal (private) Logic, What Is The Best Practice For This?

Testing If Js Method Throws Rangeerror With Qunit

I made some Javascript unit tests with QUnit library, then I want to test if method throws RangeErr… Read more Testing If Js Method Throws Rangeerror With Qunit

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

Trouble Running Qunit Tests With Static Server Using Grunt

Running the tests via a web browser works fine, but using grunt gives me errors. I struggle to unde… Read more Trouble Running Qunit Tests With Static Server Using Grunt