[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Testing XML don't use xUnit
- From: Michael Kay <mike@saxonica.com>
- To: ihe.onwuka@gmail.com
- Date: Wed, 10 Apr 2013 18:51:32 +0100
>>
>
> Right. But XMLUnit doesn't let you do that because it requires an
> absolute path (thank you John) to the node you are testing.
>
I think it's quite powerful enough to write assertions of the form
every $t in //table satisfies ($t/thead and $t/tfoot)
and assertions like that are quite powerful enough to meet any unit testing needs that I've ever seen
Perhaps you're still thinking of the limitations of XPath 1.0?
Michael Kay
Saxonica
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]