Ask the Penguin! XML and JUnit
Submitted by kebernet on Mon, 03/14/2005 - 13:42
Tagged:
Inspired by atrox's post on Junit at developerWorks, here is one I have been kind of grappling with lately.
Does anyone have a good strategy for doing JUnit tests of XML output? I mean, given things like variable whitespace meaning and variable extended namespacing, it would be really great if I could generate and XML document then have a tool to let me, say, assert a bunch of XPath queries easily.
I haven't found anytying that really makes doing flexible structural/data checks of XML output easy. I am kind of wondering if this is something I should write for myself.







Comments
RE: Ask the Penguin! XML and JUnit
RE: Ask the Penguin! XML and JUnit
RE: Ask the Penguin! XML and JUnit
RE: Ask the Penguin! XML and JUnit
RE: Ask the Penguin! XML and JUnit