将Hudson与MS测试集成? [英] Integrating Hudson with MS Test?

查看:137
本文介绍了将Hudson与MS测试集成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以将Hudson 与MS测试?

我现在在我的开发机器上使用Hudson设置一个较小的CI服务器,这样我可以有一些统计信息(例如 FxCop 和编译器警告)。当然,如果它可以运行我的单元测试并提供输出也是很好的。

I am setting up a smaller CI server on my development machine with Hudson right now, just so that I can have some statistics (ie. FxCop and compiler warnings). Of course, it would also be nice if it could just run my unit tests and present their output.

到目前为止,我已经添加了下面的批处理任务到Hudson,

Up to now, I have added the following batch task to Hudson, which makes it run the tests properly.

"%PROGRAMFILES%\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe" /runconfig:LocalTestRun.testrunconfig /testcontainer:Tests\bin\Debug\Tests.dll

然而,据我所知,Hudson不支持MS测试结果的分析。有人知道 MSTest.exe 生成的TRX文件是否可以转换为 JUnit NUnit 结果格式(因为这些都是由Hudson支持的),还是有没有其他方法来集成MS测试单元测试与Hudson?

However, as far as I know, Hudson does not support analysis of MS Test results, yet. Does anyone know whether the TRX files generated by MSTest.exe can be transformed to the JUnit or NUnit result format (because those are supported by Hudson), or whether there is any other way to integrate MS Test unit tests with Hudson?

推荐答案

Hudson有一个新的插件MSTest。只需指定.trx文件的位置,并为您完成工作。如果插件使用Allen的解决方案,这不会让我感到惊讶。

Hudson has a new plugin for MSTest. Just specify the location of the .trx file and the work is done for you. It wouldn't surprise me if the plugin used Allen's solution.

这篇关于将Hudson与MS测试集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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