XMLUnit for xml assertions

Suggested by Webmaster on Friday March 20, 2009

Thought i'd blog this little snippet. Was struggling with xml comparisons for unit testing, I initially tried XMLUnit but found that it was too sensitive. After a bit of digging in the docs, I found how to configure it to be much more forgiving on element ordering, whitespace etc.

Discussion Type: Discussion on News

Number of topics: 0

Create a new topic

 
  Login or register to create a new topic.  
 

No records to display