tag:blogger.com,1999:blog-2475940304863204716.post4238349380180584983..comments2018-03-04T09:56:20.895+01:00Comments on Interfacing Reality: XML Assertions in MbUnit v3Yann Trevinhttp://www.blogger.com/profile/04758626765333804818noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2475940304863204716.post-87930688411686635582010-05-11T20:38:11.005+02:002010-05-11T20:38:11.005+02:00@hfrmobile. Validating against XSD is indeed a sol...@hfrmobile. Validating against XSD is indeed a solution. But in many scenarios, XSD is not available beforehand (eg. testing the output of a custom extension method for the ASP.NET MVC HtmlHelper) Therefore it is easier to compare the output XML with just the expected fragment. The assertions also provide friendly messages indicating which elements or attributes are failing with colorful diffs and paths.Yann Trevinhttps://www.blogger.com/profile/04758626765333804818noreply@blogger.comtag:blogger.com,1999:blog-2475940304863204716.post-57155451672472910672010-05-11T19:27:17.841+02:002010-05-11T19:27:17.841+02:00Why not checking against XSD?Why not checking against XSD?hfrmobilehttps://www.blogger.com/profile/17244160826119084385noreply@blogger.com