XML输入/带FitNesse的输出XML、FitNesse

2023-09-05 00:56:10 作者:他愛她,所以才那么相信她

我要创建的自动化测试它接受XML并验证返回的XML是预期。而且,最终用户需要能够无需进入code添加新的数据(XML输入+期望的XML输出​​)。

I want to create automated tests which accept XML and verify that the XML returned is what was expected. Also, the end user needs to be able to add new data (XML input + expected XML output) without having to get into the code.

好像FitNesse的应该是能够做到这一点,但我还没有想出一个好办法做到这一点呢。

It seems like Fitnesse should be able to do this, but I haven't figured out a good way to do it yet.

任何建议?工具比其他FitNesse的,这将更好地工作?在code,需要测试的是.NET。

Any recommendations? Tools other than Fitnesse that will work better? The code which needs tested is in .NET.

最后,我想这些测试结果整合到一个持续集成服务器。

Eventually I would like to integrate these test results into a continuous integration server.

感谢

推荐答案

fitSharp( http://fitsharp.github.com < /一>)具有XmlFixture将XML结果比较预期值。请参见 http://fitsharp.github.com/FitLibraryTests/XmlFixture/TestMatch.html - 对不起,这是一个有点神秘,我重写文档现在,将在一个星期左右发布

fitSharp ( http://fitsharp.github.com ) has an XmlFixture that will compare XML results to expected values. See http://fitsharp.github.com/FitLibraryTests/XmlFixture/TestMatch.html - sorry this is a little cryptic, I'm rewriting the docs now and will publish in a week or so.

更新:在 http://fitsharp.github.com/Fit/XmlFixture.html更好的文档