You are currently browsing the archives for the "javascript" tag.

Continuous Integration for QUnit tests

January 09th 2009 - 7:18 pm by james

In my last blog entry I wrote about how to unit test Javascript using QUnit. I this entry I’ll explain how to run those tests on your continuous integration server using JUnit and HTMLUnit.

(more…)


TDD in Javascript with QUnit

January 09th 2009 - 7:03 pm by james

These days you’d be hard pressed to find a web application that isn’t using JQuery, Prototype, or YUI. Over the last few months I’ve had several conversations with fellow developers about how to test applications using these frameworks.

Fortunately each of these frameworks includes a unit test runner. In this article I dive into QUnit, the test harness for JQuery based web applications.

(more…)