XML module testing: alternatives to XmlUnit for .NET?

I am looking for alternatives to XmlUnit, as:

  • XmlUnit looks like a dead project: "The current version is XmlUnit.Net 0.4, April 2009";
  • "Keep in mind that the .Net code base is not as advanced as its Java counterpart, in particular, there is currently no explicit namespace support." (it all says)
  • Is this listening Are there any alternatives to XmlUnit?
  • I don't really like its static configuration: Are there any alternatives to XmlUnit?

How do you test xml serialization / deserialization?

PS: Details:

  • I am using NUnit
  • I am stuck with .NET 2
+8
xml unit-testing
source share
1 answer

I read that you are looking for a purely NUnit-based solution, but I find it worth mentioning that Gallio / MbUnit provides some interesting statements 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! 
+2
source share

All Articles