J
James X. Li
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/showfiles.php?group_id=63823/.
Documentation is available at http://ieunit.sourceforge.net/.
Feedback and comments are very welcome.
kind regards,
James X. Li
VisuMap Technologies Inc.
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/showfiles.php?group_id=63823/.
Documentation is available at http://ieunit.sourceforge.net/.
Feedback and comments are very welcome.
kind regards,
James X. Li
VisuMap Technologies Inc.