English 中文(简体)
XML 投入/投入
原标题:XML input/output with Fitnesse

我想建立自动测试,接受XML,并核实归还的XML是预期的。 此外,终端用户需要能够增加新的数据(XML投入+预期的XML产出),而不必加入该守则。

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

任何建议? 身体以外的工具将更好地发挥作用? 需要测试的代码见www.net。

最后,我谨将这些测试结果纳入一个连续的一体化服务器。

成就

最佳回答

<http://fitsharp.github.com” rel=“nofollow”>fitSharp/code>XmlFixture,将Xml结果与预期值进行比较。 详情见

问题回答

I think I may have something that will work. I can create a custom web interface which allows the user to upload XML input and the expected XML output. Save these to the DB.

然后,将这一数据从非银中取而代之,然后输入一只非要人测试套。 然后,我可以使用XMLUnit进行实际比较。 在XML投入中通过,并将产出与预期产出XML进行比较。





相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...