Re: [xml-dev] Testing XML don't use xUnit

From
Andrew Welch <>
To
Date
2013-04-10T13:48:28Z
ID
<CAEG2duDD4ckMtcxjES=>
Thread
Re: [xml-dev] Testing XML don't use xUnit
> I'm not sure what you think you might be missing because your previous
> response suggested you got it.
>
> As far as possible you want your tests to carry on working unchanged
> if the structure of the XML changes. That will not happen if your test
> cases expose Xpaths.

Examples please.

if I compare //title in the input, with //title in the output - how
will that not handle changes in the structures of the XML ?

I've happily used this technique on 2 large projects now (I'm pretty
confident in how it works : )


-- 
Andrew Welch
http://andrewjwelch.com