We've got a TFS 2010 set-up with a dedicated build server. The build for my solution generating the problems runs fine and it also correctly runs all the associated unit tests. The problem, however, is that there is no code coverage shown (locally it works). I did double check the following things:
Despite all the steps above I cannot get the code coverage working for builds on our TFS. The "Summary" shows that all tests were successfully run, and the next line reads "No Code Coverage Results". The log file generated for the build itself does not even show the word "coverage" anywhere, and I don't understand why I don't at least get an error message to work with.
I've read in some other posts that an installation of at least VS2010 Premium is required ot be installed on the build server, but I've also read that failing to do so would result in an appropriate error message, so I expect that this is not the cause for my problems.
Any ideas or pointers in the right direction are greatly appreciated, thanks in advance
G.
You need to install Visual Studio on your build server to be able to collect the code coverage. Read a great article how you can set it up
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With