Geeks With Blogs

News View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn
Michael Stephenson keeping your feet on premise while your heads in the cloud

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.

Posted on Friday, March 28, 2008 8:03 PM BizTalk , BizTalk Testing | Back to top


Comments on this post: MsTest Code Coverage with BizTalk Projects

# re: MsTest Code Coverage with BizTalk Projects
Requesting Gravatar...
Yes, I found it, too. Hopefully MS will publish hotfix for this issue.
Left by Hants on Aug 12, 2008 10:58 AM

# re: MsTest Code Coverage with BizTalk Projects
Requesting Gravatar...
It is also true for DB Pro projects. Thanks for the trick.
Left by Mic on Feb 19, 2009 11:04 AM

Your comment:
 (will show your gravatar)


Copyright © Michael Stephenson | Powered by: GeeksWithBlogs.net