Monday, April 21, 2008

Integrating VS 2008 unit tests with CCNET

In my current project we are using VS 2008 unit tests. We have a CI environment configured using CruiseControl.NET. When we tried to integrate the unit tests into the CI build process we found out that it does not work out of the box. The main reason was that the XSL files that ship with the current version of CCNET only supports generating build reports off VS 2005 unit test results. So I had to modify the style sheets a bit. I wrote a code project article on setting up CCNET to run the unit tests. The modified XSL files are also available for download with the article. Please find it at http://www.codeproject.com/KB/tips/VSTS2008_Tests_With_CCNET.aspx.

2 comments:

KingKong said...

Thanks for this machang. It saved me a lot of time on my current project.
Anuruddha (used to work with you at eCollege!)

Chamindu R. Munasinghe said...

Hey, you are welcome, how are you doing these days