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).

Override the Equivalence Comparison in Javascript

Is it possible to override the equivalence comparison in Javascript? The closest I have gotten to a solution is by …

javascript operator-overloading qunit
How can I use HTML fixtures with Karma test runner using Qunit?

I'm playing with Karma test runner (http://karma-runner.github.io/0.8/index.html) using qunit (http://qunitjs.com). I succesfully created …

javascript unit-testing tdd qunit karma-runner
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 compatible with …

javascript jquery unit-testing mocking qunit
jQuery Ajax: Reference MVC controller url from App root

I have an ASP.NET MVC web application running from http://localhost/myappname. From jQuery, I make jQuery $.ajax() calls …

jquery asp.net-mvc url qunit
QUnit vs Jasmine?

What are the main differences between these two testing frameworks? I am a totally new to Test Driven Development and …

unit-testing tdd qunit jasmine
Using .findBy() with Ember-data-populated array controller

Background I'm writing some functional tests to test that my router is navigating and loading my models correctly. So far, …

ember.js ember-data qunit
Running JavaScript unit tests headlessly in a Continuous Integration build

I have a webapp build plan running on a Continuous Integration system (Atlassian Bamboo 2.5). I need to incorporate QUnit-based JavaScript …

javascript unit-testing continuous-integration qunit bamboo
Uncaught Error: Assertion Failed: calling set on destroyed object

working in ember-cli testing. After all tests passed it returns extra two test with errors. Uncaught Error: Assertion Failed: calling …

ember.js qunit ember-cli
QUnit Vs. Jasmine and TDD Vs. BDD

I've been looking at two libraries for doing unit tests on the front-end. QUnit - http://qunitjs.com/ Jasmine - …

javascript tdd bdd jasmine qunit
Is it possible to mock the window.location object for a qUnit test?

Let's say I have a utility function that, for simplicity's sake (the real thing is complicated and irrelevant), returns the …

javascript unit-testing query-string qunit