Test Impact Analysis with Microsoft Test Manager 2010

So I’ve had a little bit of a dry spell with respect to blog entries of late.  I was planning on (eventually) writing a detailed walkthrough of using test impact analysis with Microsoft Test Manager to view impact to manual tests.  However, I stumbled upon Danny Crone from nFocus’ video that covers it in more…

0

Test Impact with Team Foundation Build 2010

So in my last blog entry, I touched upon how you could use the Test Impact View in Visual Studio 2010.  Today’s topic is how to use the test impact feature with Team Foundation Build 2010.  Team Foundation Build 2010 is part of Team Foundation Server 2010 and has many new features, including the very…

0

Test Impact Analysis in Visual Studio 2010

One of the new features you’ll find in Visual Studio 2010 (Premium and Ultimate editions) is test impact analysis.  Inside of Visual Studio, this feature is used to immediately inform the developer of what tests they should run to verify the code changes they are making.  You can also find the feature as part of…

0

Programmatic Code Coverage Data Merging in Visual Studio 2010

In my last post, I demonstrated how you could use the coverage analysis assembly to analyze coverage files.  Today I will quickly cover how to programmatically merge multiple coverage files together.  This replicates the functionality that the code coverage results tool window has for merging coverage data from multiple test runs together.  The following assumes…

2

Programmatic Coverage Analysis in Visual Studio 2010

As hinted upon in my last post, today’s entry will be on how to programmatically perform analysis on a Visual Studio coverage file in Visual Studio 2010. The first step is to reference the coverage analysis assembly,  Microsoft.VisualStudio.Coverage.Analysis.dll, in your project.  This managed assembly can be found in “%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies” (use %ProgramFiles(x86)% on…

5

Code Coverage in Visual Studio 2010

It’s been far, far too long since I’ve updated my blog, but I wanted to quickly cover what’s new in Visual Studio 2010 for code coverage (Premium and higher SKUs).  Almost all of the changes are under the covers, but some are noteworthy: Support for x86-64 instrumentation (native, mixed, and platform-specific managed code) and collection…

3

Code Coverage Collection

By the end of my last post about code coverage instrumentation, we have instrumented our executable image and it’s now ready for code coverage collection.  Code coverage collection is the process of collecting the runtime data of what functions were covered during test execution.   The end result of coverage collection will be a coverage data file which…

1

Code Coverage Instrumentation

For my first on-topic blog post, I would like to give an overview of how code coverage instrumentation works in Visual Studio (it seems like a good a place to start as any).  For basic information about what code coverage is, check out wikipedia’s Code Coverage topic.  Code coverage is a feature available in Visual Studio…

1

Welcome to my blog!

Hello, my name is Peter and I’m a recovering ex-softie.  I returned a few months ago to Microsoft after a little more than two years away from the company.  I graduated with a BS in Computer Science from Virginia Tech (I’m also a diehard hokie fan) in 2002.  I was a three-time intern before joining…

2