?
Solved

How to Publish .Coverage data to TFS...

Posted on 2012-03-21
7
Medium Priority
?
846 Views
Last Modified: 2012-04-17
I'm using Visual Studio 2010, and I'm running code coverage for manual testing.  I have the coverage file, and can see it in Visual Studio, but I'd like to figure out how to publish the results into TFS.

1) how do I publish it.  (I keep seeing references to this, but nobody says how, and I don't see it)

2) Where can I publish it in TFS?  to a Build, to a test plan/task?  etc...

Thanks.

I should include that this was generated by use of the command lines
vsinstr /coverage bob.exe      
vsperfcmd /start:coverage /output:"bob.coverage"
>>>  DO MANUAL TESTS HERE <<<
vsperfcmd /shutdown
0
Comment
Question by:hpdvs2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 37752173
Let me start by saying that I am not sure how either, but I am always curious by these types of questions, as they stimulate outside-the-box thinking...

"I keep seeing references to this"
It might make the searches faster to share some of those references.

I will assume that you are talking about Team Foundation Server 2010, unless otherwise indicated.
0
 
LVL 8

Author Comment

by:hpdvs2
ID: 37780147
yes, Visual Studio 2010, TFS 2010.

- "I keep seeing references to this"
 - Here for instance: http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/b62a600c-be67-4112-8e1a-5f63bbf181b9#6c1ec90e-ca20-411a-80e2-7e2eb5bedd5f
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 37781101
Very interestink...

More clues:

http://social.msdn.microsoft.com/Forums/is/tfsbuild/thread/a160af74-b198-45be-a8a1-31555691e987

"The code coverage data is stored in the RunCoverage table in the TfsBuild database."

It seems to be related to the TFS Build process.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 96

Accepted Solution

by:
Bob Learned earned 1500 total points
ID: 37781115
Creating Fake builds in TFS Build 2010
http://blogs.msdn.com/b/jpricket/archive/2010/02/23/creating-fake-builds-in-tfs-build-2010.aspx

http://blogs.msdn.com/b/densto/archive/2010/03/02/creating-fake-builds-in-tfs-2010.aspx

"Sometimes it can be useful to create “fake” builds in Team Foundation Server in order to successfully use other ALM features in the product."
0
 
LVL 8

Author Comment

by:hpdvs2
ID: 37856677
so, does this mean I have to "fake" a build in TFS to tie code coverage to it?
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 37856685
I couldn't find any other way, but that doesn't mean that one doesn't exist.  It just means that it is difficult to find the right "magic".
0
 
LVL 8

Author Closing Comment

by:hpdvs2
ID: 37858034
Wasn't the solution I was hoping for, but it works, and enough time has passed that I presume there isn't a better solution.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question