处理NUnit result.xml并在Team City Web GUI中显示它 [英] Process NUnit result.xml and show it in Team City Web GUI

查看:237
本文介绍了处理NUnit result.xml并在Team City Web GUI中显示它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我认为这是在NUnit Runner失败的老版本的Team City中,所以我试着使用Command Line Runner运行NUnit。在命令行运行器设置中有一个选项,它允许您指定输出文件的类型:NUnit result.xml是其中之一。这样,你可以在Web GUI中看到测试结果分解,就像NUnit Runner工作时一样。



但是我没有在最新的Team City (6.5.5)。仍然可以吗?



PS:在任何人问之前,我不能使用Team City的NUnit Runner,因为NUnit有错误,这将在即将到来的2.6.0版本中修复。运行nunit-console时不会出现该错误

解决方案

功能仍然存在,当看到另一个构建组态。导入XML现在是Build Feature,请参阅:




I remember doing this in an older version of Team City in which the NUnit Runner failed, so I tried running NUnit using the Command Line Runner instead.

I think there was an option in the Command Line Runner settings which let you specify the kind of output file: NUnit result.xml was one of them. Doing this, you could see the test result breakdown in the Web GUI, just like when the NUnit Runner worked.

But I don't see this in the latest Team City (6.5.5). Can it still be done?

PS: Before anyone asks, I can't use Team City's NUnit Runner because NUnit has a bug which will be fixed in the soon to come 2.6.0 version. Said bug does not occurr when running nunit-console

解决方案

The functionality was still there, found it by accident when looking at another build configuration. Importing an XML is now a "Build Feature", see:

这篇关于处理NUnit result.xml并在Team City Web GUI中显示它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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