阅读背景:

如何使用RSpec测试XML文件?

来源:互联网 

I have an RSS feed that I am writing an RSpec test for. I want to test that the XML document has the correct nodes and structure. Unfortunately, I can't find any good examples of how to do this in a clean way. I have only found some half-implemented solutions and outdated blog posts. How can I test the structure of an XML document using RSpec?I have an RSS feed that I am writing an RSpec t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: