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

Why Attach To Window [edited]

I was looking over the code for qunit. My question is why would you want to attach the qunit object… Read more Why Attach To Window [edited]

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

Obtaining $httpbackend In Qunit Tests

I am writing QUnit tests for an Angular controller. In the setup function of module, I have written… Read more Obtaining $httpbackend In Qunit Tests

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