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
Solved

How to Publish .Coverage data to TFS...

Posted on 2012-03-21
7
835 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
  • 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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
.NET 2008 VB and C# 6 39
Send SMS from VB via Sierra Wireless Modem 2 23
Updating specific fields only in MVC/Entity controller 2 18
Groupbox Control ? 2 17
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

856 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