Integrating Hudson with MS Test?

Posted by hangy on Stack Overflow See other posts from Stack Overflow or by hangy
Published on 2008-12-09T13:30:36Z Indexed on 2011/01/03 22:54 UTC
Read the original article Hit count: 217

Is it possible to integrate Hudson with MS Test?

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.

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

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?

© Stack Overflow or respective owner

Related posts about unit-testing

Related posts about continuous-integration