I need to write a unit test to confirm that when I modify an XML file I get a specific result. I could simply compare the input and output as strings, but I don't want to get failures if little things like white space between elements are different.
Is there a simple way to compare entire XML files in Visual Studio unit tests?
(I'm using 2012 if that matters).