ECMAUnit: Unit testing for JavaScript

Sarissa is a goodie for those of us who wrangle with XML:

Sarissa is a cross-browser ECMAScript library for client side XML manipulation, including XML loading from URLs or strings, XSLT transformations, XPath queries and more. Supported: Gecko (Mozilla, Firefox etc), IE, KHTML (Konqueror, Safari).

When I started looking at its documentation, I noticed that it looked right fine, and it was developed with unit testing:

Sarissa tests are written using ECMAUnit, a unit testing framework for ECMAScript (a.k.a. JavaScript).

That is way cool. The tarball is 4.39 Kb…

It has all the basic things a unit tester needs: AssertEquals(), AssertRaises(), AssertFalse(), AssertTrue(), and even a setUp() and tearDown() pair of methods, which helps when setting up more complex tests.

Maybe this is something for Jonas?

Published by Olle Jonsson

Human. Wears glasses and often a smile.

One reply on “ECMAUnit: Unit testing for JavaScript”

Comments are closed.