Michael Stephenson

keeping your feet on premise while your heads in the cloud
posts - 257, comments - 277, trackbacks - 11

My Links

News

View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn

Twitter












Archives

Post Categories

Image Galleries

BizTalk

Mates

MsTest Code Coverage with BizTalk Projects

Problem

If you want to use the standard code coverage that comes with Visual Studio Team Developer to analyse any C# code within your BizTalk solution you will normally come across the problem that when you open the code coverage page within the test run config file the dialog closes itself.

This is a bit of a pain in the butt!!

Work Around

If you want to amend the code coverage page you can do this by temporarily unloading your BizTalk projects within the Solution Explorer.  When all of the BizTalk projects are unloaded then you can edit the code coverage section of the test run config as normal.  Then when you have done this simply reload your BizTalk projects.

This should help you effectively unit test the C# code in your BizTalk solution.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Friday, March 28, 2008 8:03 PM | Filed Under [ BizTalk BizTalk Testing ]

Feedback

Gravatar

# re: MsTest Code Coverage with BizTalk Projects

Yes, I found it, too. Hopefully MS will publish hotfix for this issue.
8/12/2008 10:58 AM | Hants
Gravatar

# re: MsTest Code Coverage with BizTalk Projects

It is also true for DB Pro projects. Thanks for the trick.
2/19/2009 11:04 AM | Mic
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: