Welcome to MSDN Blogs Sign in | Join | Help

marcus's Team System motivation and experience

This blog will share the experience I have made with team system. Besides that I want to communicate my motivation, that drives me talking about team system nearly every day.

Syndication

Using Code Coverage with Manual Testing

When talking about code coverage we normally think about unit testing. One of the reasons may be, that the Team System Testing Infrastructure automatically enables code coverage for unit tests.

Never less you can use code coverage for all other test types too, this also includes manual tests.

Where would you want to have this:

e.g. when you run a set of manual tests and need to be sure to really cover all code in a specific area. You would for sure never use code coverage on manual tests for a broad scenario, there automated tests really should be in place.

How to set this up:
Because of the flexible Team System Testing Infrastructure design you set this up just the way you do it with other tests you want to instrument:
Open up the “test run Configuration” by double clicking the file “localtestrun.testrunconfig” under the solution items. There you just navigate to code coverage and add/mark the assemblies you want to instrument.

Afterwards start the test and then be sure to start the Application you are testing in the assembly path you defined during add/mark, normally <solution directory>\<project>\bin\debug.

Now just start testing the application to satisfy the manual test. Before you Apply the manual test be sure to shut down the application, for code coverage results to save.

Documentation details can be found here:
http://msdn2.microsoft.com/en-us/library/ms182616.aspx

Published Sunday, July 02, 2006 6:46 AM by marcalt

Comments

# I bookmark del giorno #43 - VSTS Edition @ Tuesday, July 04, 2006 6:17 AM

Lorenzo Barbieri @ UGIblogs!

# Using Code Coverage with Manual Testing @ Monday, August 28, 2006 5:50 PM

http://blogs.msdn.com/marcalt/archive/2006/07/02/654157.aspx
A good thing to remember about CodeCoverage...

Just Coding

# Technical Related Notes &raquo; Blog Archive &raquo; links for 2006-08-30 @ Thursday, August 31, 2006 5:05 AM

PingBack from http://technote.thedeveloperside.com/?p=101

Technical Related Notes » Blog Archive » links for 2006-08-30

# Manual Testing | Directory Manual @ Friday, September 28, 2007 1:05 PM

PingBack from http://directorymanual.info/2007/09/28/manual-testing/

Manual Testing | Directory Manual

# Using Code Coverage with Manual Testing @ Monday, October 01, 2007 9:31 AM

http://blogs.msdn.com/marcalt/archive/2006/07/02/654157.aspx A good thing to remember about CodeCoverage

Just Coding

Anonymous comments are disabled
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement  
Page view tracker