I’ve hit a rather frustrating wall whilst implementing my Build Server for TFS 2008. As a company we have licenses for TFS 2008, VS2008 Development Edition and VS2008 Database Edition. Note the absence of VS2008 Test Edition (this is important!).
Oi Microsoft, this IS part of Development!
Our dev branch of source control is using a Continuous Integration model and builds the entire application on every checkin. Marvellous. However, I have been struggling to get the build to run (and report on) Code Coverage as part of the Unit Tests.
Turns out that you need to have VS2008 Test Edition installed on your build server. WTF!? Firstly, why should I need any client-side applications installed on my server for it to work (you need VS2008 Developer Edition to run Unit Tests as part of the build)? Secondly, why is Code Coverage considered part of the Test Edition? As a developer, a core part to producing good software is Unit Testing – which is worthless without a measure of Code Coverage!
Come on Microsoft. You’ve got to give us proper tools if you want us to continue developing for your platforms. Hopefully, life will change with VS2010?
Many thanks to Buck Hodges for responding to my emails and helping clarify the situation.