Home > Extreme Programming > JsUnit rocks! (A unit testing framework for clientside Javascript)

JsUnit rocks! (A unit testing framework for clientside Javascript)

Today I discovered a wonderful tool while adding some features to the Remote Scripting Client(msrsclient.js).It is a Javascript unit testing framework called JsUnit which is developed by Edward Hieatt. It allows for you to build your features in the usual Test Driven manner even though your code is clientside Javascript!

What about automated test runs, a graphical test harness and exception handling, you may ask … it has it all! You can even define test suites to automatically test whole groups of test html pages.

JsUnit Screenshot

I will post the development project with the JsUnit tests when releasing the next version of msrsclient.js.

Edward – Many thanks for your outstanding work on JsUnit!

Categories: Extreme Programming
  1. Bob
    February 15, 2004 at 5:46 pm

    JsUnit Rocks. Hope I get to try it someday.

  2. Roberto
    September 28, 2007 at 3:34 pm

    I wrote an article on how to write unit tests for javascript with jsUnit.
    Here you are
    http://robcos.com/unit-testing-with-javascript/

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: