yes i had user httunit too. it used not only xml as input, but also a xml
file as output for reports. ths xml reports were transformed with xsl to
html for nightly reports like gump (apache).


juraj

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 11. September 2001 09:58
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: Unit Testing Actions


We test them using our own test framework sitting on top of HTTPUnit. It
uses an XML file as input (e.g with urls and expected text/errors etc),
rather than writing code.
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
JavaNews: http://www.multitask.com.au/JavaNews
----- Forwarded by dIon Gillard/Multitask Consulting/AU on 11/09/2001 05:56
PM -----
Unit Testing Actions


What's the best way to unit test Struts Actions?  Create mock objects
(request, session, servlet, etc.)?  J2EEUnit, Catctus, HTTP Unit?  Which
approach are people having the most success with?

Also, Craig M. mentioned a while back about a unit testing framework for
Struts itself.  How is that coming along?  Just curious.

Thanks!

Steve Molitor
[EMAIL PROTECTED]

Reply via email to