Top "Qunit" questions

QUnit is a JavaScript unit testing framework, used by the jQuery project to test its code and plugins, but capable of testing any generic JavaScript code (both on the client and on the server).

Javascript how to remove prototype methods from a data object or make objects work with Qunit equals

I've started working with Qunit to do unit testing on my code, but am striking problems comparing objects. The code …

javascript jquery qunit
sinon.stub() vs sinon.sandbox.stub()?

Using sinon and sinon-qunit in our front end unit tests, and I'm struggling to understand the difference in these methods. …

javascript unit-testing qunit sinon
Waiting in QUnit tests

I have jQuery code that when I click on a link it first hides and then removes some HTML, like …

javascript jquery qunit
How to test against a DOM object in qUnit?

I'm testing some JavaScript with qUnit. In one object I pass a DOM element, and some methods will change some …

javascript dom qunit
How can we execute Unit Tests against DOM manipulation?

The introduction to QUnit over at netTuts.com spawns an interesting exchange (never resolved) over how to apply unit tests …

jquery unit-testing qunit
How to stop Global Failures in qUnit?

I'm new to qunit, and am attempting to integrate it with an existing environment. One of the issues I get …

javascript jquery qunit