On Mon, 2004-01-05 at 08:54, Jeffrey D. Brekke wrote:
> Thinking along the lines of acceptance/customer tests...
> 
> If what you're really wanting to test is that the generated xml
> matches some golden xml file, ala diff of two xml files, xmlunit is
> the best I've found.

Cool, I will look into that today and make a little tool with it and try
it.

> I've also just read the xml into domain objects and checked those and
> actually used jrcs to diff two streams/readers in a generic way as
> alternatives.

That's interesting, maybe we can chat in IRC about your technique. I can
think of some non-XML where that would be useful.

> >>>>> On Sun, 04 Jan 2004 23:28:58 -0500, Jason van Zyl <[EMAIL PROTECTED]> said:
> 
> > Howdy, I know that XmlUnit exists but does anyone have any
> > recommendations for xml unit testing tools? A lot of the plugins
> > generate xml and I want to improve the testing across the plugins so
> > I figure with a good xml unit testing tool I can probably make a
> > start at plugin tests for many of the plugins missing tests.
> 
> > ./ant/src/plugin-test ./aspectwerkz/src/plugin-test
> > ./changes/src/plugin-test ./checkstyle/src/plugin-test
> > ./clean/clean/src/plugin-test ./clean/src/plugin-test
> > ./clover/src/plugin-test ./dashboard/src/plugin-test
> > ./deploy/src/plugin-test ./dist/src/plugin-test
> > ./ear/src/plugin-test ./faq/src/plugin-test ./gump/src/plugin-test
> > ./html2xdoc/src/plugin-test ./java/src/plugin-test
> > ./plugin/src/plugin-test ./war/src/plugin-test
> > ./xdoc/src/plugin-test
> 
> > That's all we have which I will take a stab at improving tomorrow. I
> > hope to make a shell of a little tool, a harness of sorts, for
> > testing plugins independently across various versions of maven.
> 
> > -- jvz.
> 
> > Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org
> 
> > In short, man creates for himself a new religion of a rational and
> > technical order to justify his work and to be justified in it.
>   
> >   -- Jacques Ellul, The Technological Society
> 
> 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED] For
> > additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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

Reply via email to