XpdWiki

FrontPage
RecentChanges
XtC
FindPage
PageIndex
XpApprentices

Set your name in
UserPreferences

Edit this page

Referenced by
BrisbaneXtc4
LisaVanGelder
JsUnit




JSPWiki v2.0.52


HttpUnit


HttpUnit can be used in conjuction with Junit to perform website testing. While this is very useful it should be noted that it doesn't help with testing client side code such as javascript.

If anyone does have a good way of testing websites with clientside scripting that performs heavy dom manipulation then I would be interested. I know Rhino can be used for pure javascript perhaps we need mock DOM elements...

(HttpUnit uses Rhino to allow JavaScript testing -- OliBye)

http://httpunit.sourceforge.net/

MpC

Oooh I take that back, it does have some early javascript support. Then again I guess to be useful it really needs to emulate all IE quirks as most people don't write proper javascript / DOM manipulation code.

Whoooo

OliBye uses HttpUnit at WirelessDataServices? however be careful.

  • It uses JTidy whos DOM output is mostly unimlemented. We have to reparse the DOM in something better like xerces.
  • It doesn't support MultipartMime? upload, although the API claims to.
  • Checkout Squeak seaside, for idea's on how it could all be so much simpler.


Edit this page   More info...   Attach file...
This page last changed on 15-Oct-2003 10:28:20 BST by unknown.