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

Discussion in 'XML' started by Philippe Poulard, Jun 13, 2008.

  1. 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 !
     
    Philippe Poulard, Jun 13, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VvanN
    Replies:
    5
    Views:
    515
    Phlip
    Apr 28, 2006
  2. Philippe Poulard
    Replies:
    3
    Views:
    280
    Tom Anderson
    Jun 12, 2008
  3. Bill David
    Replies:
    2
    Views:
    284
    Arne Vajhøj
    Jun 18, 2008
  4. Bill Mosteller
    Replies:
    0
    Views:
    250
    Bill Mosteller
    Oct 22, 2009
  5. timr
    Replies:
    2
    Views:
    180
Loading...

Share This Page