TestSwarm – JavaScript Testing Made Simple

Posted by Susan Rony on Tuesday, October 6th, 2009

Here’s glad news for web developers from Mozilla Labs. There is now a quick and easy way to test your JavaScript code on multiple browsers. TestSwarm, the new Mozilla Labs project aims to ease developers’ pain by providing distributed continuous integration testing for JavaScript.

However, at this moment, TestSwarm is still in alpha testing.

NOTE: “During this alpha period data may be lost or corrupted and clients may be unexpectedly disconnected.”

The TestSwarm project was initially started by John Resig as a tool to support the jQuery project and it later moved to become an official Mozilla Labs project. According to John, one of the main reasons on why he pursued this project is because the present day’s cross browser Javascript testing methods do not scale. TestSwarm is expected to greatly simplify the complicated and time-consuming process of running JavaScript test suites in multiple browsers.

TestSwarm currently supports 7 operating systems (Windows, Mac OS X and Linux) and runs its tests on all the major browsers from Mozilla to Konqueror. TestSwarm provides a great visual interface to display the test results. Detailed data about what exactly went wrong is provided which helps to rectify the problem too. This makes a developer’s job easier to keep JavaScript libraries compatible with most web browsers.

Currently, TestSwarm is provided as a service to test few popular JavaScript libraries including jQuery, YUI, Dojo, MooTools, and Prototype. You can also download the source code and install TestSwarm on your own servers if you want to use it for your own project.

To know more, watch this screencast on how TestSwarm works. Additional information is available on John’s blog and the TestSwarm site.

Tags: , , , ,

2 Responses to “TestSwarm – JavaScript Testing Made Simple”

  1. sreejith says:

    This link http://www.testswarm.com/ not seems to be working.

  2. Susan Rony says:

    The site happens to be very slow at times. Do try again after some time.

Post a Comment