Code Coverage MSTest.exe error when running on Team Foundation Server 2010


 

i trying enable code coverage using team build 2010. have solution on 500 unit tests that builds , runs successfully. when enable code coverage, instrument assemblies (currently instrumenting unit test assemblies because unit tests in separate solution code tested). enable code coverage in testrunconfig file, , configured assemblies instrumented. when run tests, following mstest.exe error.

"code coverage turned on in test settings. result, tests cannot run inside mstest.exe process. /noisolation switch not supported these test settings."

i removed "/noisolation" flag mstest activities in build process template still same error. confirmed build definition using correct process template. there need other check-in process template has /noisolation flag removed mstest activities?

hi caponeman,

i'm moving thread "team foundation server - build automation" forum, since issue more related tfs build automation, , better support in "team foundation server - build automation" forum.

best regards,
nancy


please remember mark replies answers if , unmark them if provide no help.
welcome all-in-one code framework! if have feedback, please tell us.


Archived Forums V  >  Team Foundation Server - Build and release management



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........