Steve Loughran wrote:
[EMAIL PROTECTED] wrote:
5. You get to verify the output matches what you want. Except Httpunit feeds its stuff through tidy; its very HTML-centric. Does anyone know how to use it to test proper XML documents, with namespaces and the like?

XmlUnit ?

http://xmlunit.sf.net/
http://stefan.samaflost.de/blog//en/oss/XMLUnit


yes I've given stefan my todo list. the way I test my stuff (Atom feeds) is to use <get> and then feed it through the 3rd party RelaxNG task that checks the output against the schema.


You could always use some of your copious free time to pitch in ;-)

If you really want cool server-side testing, Selenium is the best. Its the only one to run in-browser.

HttpUnit does support javascript, though its tied to the pre-java 6 APIs. I wonder if you could write a bridge which used the BSF APIs but talked javax.scripting behind the scenese..

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to