Velocity Reviews - Computer Hardware Reviews

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

Reply
Thread Tools

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

 
 
Philippe Poulard
Guest
Posts: n/a
 
      06-13-2008
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 !
 
Reply With Quote
 
 
 
Reply

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



Advertisments