Reputation: 1550
I'm looking for XmlUnit alternatives, since:
How do you test your xml serialization/deserialization?
PS: More details:
Upvotes: 9
Views: 1276
Reputation: 3823
I read that you look for a purely NUnit-based solution, but I think it's worth to mention that Gallio/MbUnit provides several interesting assertions for testing XML. More information and examples on the Gallio wiki.
Assert.Xml.AreEqual(
"<value x='123' y='456'/>",
"<VALUE y='456' x='123'></VALUE>",
XmlOptions.Loose); // Pass!
Upvotes: 2