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

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

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?

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

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?