Contents tagged with Unit Testing
-
Setting up Karma to run unit tests in PhantomJS and Chrome
This session talks about setting up Karma to run the unit tests in PhantomJS and Chrome. The unit tests are written using Jasmine. The tests are written for an AngularJS application, however you can write unit tests for just about any JavaScript code.
-
Testing JavaScript with QUnit
In this session, we will take a look at how to use QUnit to write unit tests for your JavaScript code.
-
Using QUnit for JavaScript unit test and BlanketJS for code coverage
I recently started using QUnit for unit testing JS code and I’m really impressed with it. I’m sure Jasmine framework is equally good, but I picked up QUnit because none of the languages/frameworks I have learned so far have the letter ‘Q’ in them!!