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

Avoid / Capture / Verify A Javascript Alert When Testing A Method That Displays One With Qunit

I'm just starting using Qunit and would like to know whether is there a way to capture/verify/o… Read more Avoid / Capture / Verify A Javascript Alert When Testing A Method That Displays One With Qunit

Qunit Isn't Running Manually Namespaced Setup Code Like I Would Expect?

In stuff.js: function init() { return 'works'; } (function(ParentNamespace) { Pare… Read more Qunit Isn't Running Manually Namespaced Setup Code Like I Would Expect?

Non-blocking Asynchronous Tests Using Qunit

It seems that the QUnit functions stop() and start() allow to wait for asynchronous tests, but duri… Read more Non-blocking Asynchronous Tests Using Qunit

Avoid / Capture / Verify A Javascript Alert When Testing A Method That Displays One With Qunit

I'm just starting using Qunit and would like to know whether is there a way to capture/verify/o… Read more Avoid / Capture / Verify A Javascript Alert When Testing A Method That Displays One With Qunit

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