Mah blogginess

XMLUnit and TestNG

Our entire testing system is based on TestNG, but one of our developers recently invoked XMLUnit to test some of the XML he was producing.

Now, XMLUnit is built to be used with JUnit (old JUnit… like 3.8.1 style JUnit…), which at first glance doesn’t seem to play well with TestNG test runners. (We were having some build timeouts and other mysterious behavior when trying to run these tests.)