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

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

问题描述

是否可以将 Hudson 与 MS 集成测试?

Is it possible to integrate Hudson with MS Test?

我现在正在使用 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.0Common7IDEMSTest.exe" /runconfig:LocalTestRun.testrunconfig /testcontainer:TestsinDebugTests.dll

但是,据我所知,Hudson 还不支持对 MS 测试结果进行分析.有谁知道MSTest.exe生成的TRX文件是否可以转换成JUnitNUnit 结果格式(因为 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天全站免登陆