集成Visual Studio测试项目与巡航控制 [英] Integrating Visual Studio Test Project with Cruise Control

查看:166
本文介绍了集成Visual Studio测试项目与巡航控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2008的内置单元测试项目而不是NUnit,我想知道是否有任何人有尝试集成这种类型的单元测试项目与Cruise Control.Net。

I'm looking into using Visual Studio 2008's built in unit test projects instead of NUnit and I was wondering if anyone has any experience in trying to integrate this type of unit test project with Cruise Control.Net.

推荐答案

从一些初步研究看来,它似乎不是一个超级简单的解决方案。

From some of the initial research it doesn't appear to be a super simple solution.

看起来这样做涉及将Visual Studio 2008实际安装在持续集成服务器上,这可能是一个交易中断。

It appears that doing this involves having Visual Studio 2008 actually installed on the continuous integration server, which could be a deal breaker.

然后配置MSTest.exe在任务列表中运行,但首先您必须创建一个批处理文件,以删除之前传递的结果文件,因为此文件的存在导致错误。

Then configure the MSTest.exe to run in the tasks list, but first you'll have to make a batch file to delete the results files from previous passes as this file's existence causes an error.

然后创建一个xslt格式化结果并将其放入dashboard.config文件。

Then create a xslt to format the results and put it into the dashboard.config file.

我发现的代码项目文章更多细节。

The code project article I found has a lot more detail.

将Visual Studio Team System 2008单元测试与CruiseControl.NET集成

这篇关于集成Visual Studio测试项目与巡航控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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