For Programmers: Free Programming Magazines  


Home > Archive > Extreme Programming > November 2004 > ANN: Open source web test framework IeUnit 1.4 released









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ANN: Open source web test framework IeUnit 1.4 released
James X. Li

2004-11-27, 9:03 pm

We have just released the unit test framework IeUnit version 1.4.
IeUnit is an implementation of the xUnit test framework in JavaScript
languag for Windows & Internet Explorer platform. IeUnit helps people
to create, organize and execute functional tests for web based
applications.

The release 1.4 offers the following features/characteristics:

* IeUnit 1.4 is open sourced under IBM Common Public License version 0.5.

* The package is implemented completely in JavaScript languag. The test
eignie (i.e. the test runner) executes test scripts (in JavaScript) to
drive IE browser to test web sites.

* The package is easy to install. It doesn't depend on any third-party
library. You can install it on a Windows XP (or higher) machine through
few mouse-clicks usually within a minute.

* It is very easy to use for people with basic knowledge in JavaScript
and HTML/DHTML. The following is, for instance, an example of an IeUnit
test case that covers two different tests.

function HelloWorldTest() {
assimilate(this, new IeUnit());

this.setUp = function() {
this.openWindow("c:/temp/HelloWorld.html");
};

this.tearDown = function() {
this.closeWindow();
};

this.testCheckText = function() {
this.assertEquals("Hello World!",
this.doc.documentElement.innerText);
};
this.testCheckStyle = function() {
this.assertEquals("H1", this.findByText("Hello").tagName);
};
}

* IeUnit framework allows extension in an object oriented way.
It has been successfully used to develop test suites with over 3000
unit tests.


IeUnit 1.4 can be downloaded at:
http://sourceforge.net/project/show...roup_id=63823/.
Documentation is available at http://ieunit.sourceforge.net/.

Feedback and comments are very welcome.


kind regards,

James X. Li
VisuMap Technologies Inc.




Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com