[rspec-users] [module announcement] Equivalency testing for XML
Michael B. Klein
mbklein at gmail.com
Thu Mar 24 12:59:17 EDT 2011
I recently released a gem that assists in testing XML nodes for equivalency,
and thought it might be of interest to the RSpec community. It can normalize
whitespace (or not), ignore element order (or not), compare namespaces based
on URI (not prefix), and more. Plus -- and possibly best of all -- it has
baked-in RSpec (1.2.4+, 2.x) integration via custom matchers.
It's similar in aim to XmlUnit for Java, but with a far narrower scope.
Or, of course, simply gem install equivalent-xml
I welcome any feedback, suggestions, patches, pull requests, additional test
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users