Integrating Visual Studio Test Project with Cruise Control

守給你的承諾、 提交于 2019-12-06 17:00:52

问题


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.


回答1:


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

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

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.

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.

Integrating Visual Studio Team System 2008 Unit Tests with CruiseControl.NET



来源:https://stackoverflow.com/questions/1503/integrating-visual-studio-test-project-with-cruise-control

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!