Re: xml unit testing

2004-01-05 Thread Jason van Zyl
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

RE: xml unit testing

2004-01-05 Thread Jason van Zyl
On Mon, 2004-01-05 at 02:44, Vincent Massol wrote: > Hi Jason, > > I can think of 2 ways for doing this: > > - xmlunit :-) Yah, that seems to be the front runner. > - using directly Jelly (the xml taglib) as I've done in several plugin > tests. It won't test the full generated XML (is that nece

Re: xml unit testing

2004-01-05 Thread Jeffrey D. Brekke
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. I've also just read the xml into domain objects and checked those and actually used jr

RE: xml unit testing

2004-01-05 Thread Vincent Massol
Hi Jason, I can think of 2 ways for doing this: - xmlunit :-) - using directly Jelly (the xml taglib) as I've done in several plugin tests. It won't test the full generated XML (is that necessary? I don't think so) but only the "important" parts. -Vincent > -Original Message- > From: Ja