Solved

How to Publish .Coverage data to TFS...

Posted on 2012-03-21
7
839 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
Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

 
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

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

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

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

688 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