Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > [ANN] WUnit : a tool for unit test of Web applications

Thread Tools

[ANN] WUnit : a tool for unit test of Web applications

Philippe Poulard
Posts: n/a

WUnit is bundled with RefleX 0.3.1

RefleX is a general-purpose XML engine written in Java and WUnit is an
XML and XPath-based tool for running unit tests of Web applications.

If you already know XML and XSLT, starting with WUnit should be
straitghforward, otherwise, you should learn XML and XSLT before

WUnit is somewhat different from other Web testing tools :
-you don't need complex installation of the tool : just download and unzip
-you can address items of a page with XPath : get a form with
-you write your tests with XML and XUnit : <wunit:click>,
<xunit:assert-node-equals>, etc
-you can act on server-side objects : you can store authoritatively an
object in the user session before getting Web pages
-AJAX-based applications are supported

WUnit is composed of 2 parts :
-a Web client
-a Web server emulator for servlets
If your Web application is not made with servlets, you can still use the
client for writing Web scenarii. In this case, you can also design test
suites for any Web-sercer technology (PHP, Zope, Apache, etc), but with
servlets you will be able to act on server-side objects while testing

A runnable tutorial with file uploads, AJAX autocompleter, and session
cheats is available here :

WUnit documentation :
XUnit documentation :

RefleX is also a useful tool for many other things :

Enjoy !


(. .)
| Philippe Poulard |
Have the RefleX !
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
contradicting unit test regarding blocks pass, bug in unit/test? timr Ruby 2 11-20-2010 06:30 AM
All of us know about unit test. But what's a unit? Bill David Java 2 06-18-2008 12:40 AM
[ANN] WUnit : a tool for unit test of Web applications Philippe Poulard Java 3 06-12-2008 07:38 PM
unit--, a unit test framework for C++ VvanN C++ 5 04-28-2006 10:01 AM
test test test test test test test Computer Support 2 07-02-2003 06:02 PM