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

P

Philippe Poulard

hi,

WUnit is bundled with RefleX 0.3.1
http://reflex.gforge.inria.fr/

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
//FORM[@name='loginForm']
-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
-etc

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 :
http://reflex.gforge.inria.fr/wunit-quick-start.html

WUnit documentation :
http://reflex.gforge.inria.fr/wunit.html
XUnit documentation :
http://reflex.gforge.inria.fr/xunit.html

RefleX is also a useful tool for many other things :
http://reflex.gforge.inria.fr/tutorial.html

Enjoy !

--
Cordialement,

///
(. .)
--------ooO--(_)--Ooo--------
| Philippe Poulard |
-----------------------------
http://reflex.gforge.inria.fr/
Have the RefleX !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top