Is there a Ruby equivalent of XMLUnit?
If not, would running XMLUnit via JRuby be a viable way to use XUnit in a Ruby programme?
I hope below links may be helpful for you
Test::Unit::XML
XmlSimple
you can find more information with this post