XML输入/带FitNesse的输出 [英] XML input/output with Fitnesse

查看:182
本文介绍了XML输入/带FitNesse的输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要创建的自动化测试它接受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更好的文档

这篇关于XML输入/带FitNesse的输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆