tfs2010 - How to publish Code coverage result back to TFS 2013 -


scenario:

we're trying enable code coverage in our tfs , far build summary result displaying code blocks covered shown in picture below problem every time click coverage results link (arrow down in picture) doesn't shown details of has been covered , display error in browser test results in/out folder have code coverage file in build server.

setup:

enter image description here

mstest settings (local.testsetting)

enter image description here

test run

enter image description here

build definition enter image description here

test results enter image description here

build summary:

enter image description here

after clicking coverage results: enter image description here

question : why tfs 2013 project collection coverage results link (red arrow down) in build summary doesn't display code coverage details of has been covered code coverage file generated in build server tfs 2010? missed in settings make possible?

you need to
1). open build definition, go process -> 3.test -> automated test -> on add/edit test run dialog, set options "enable code coverage".
2). select .testsettings file in build definition.

enter image description here

you can have check on ralph jansen's reply in question tfs 2013 - no code coverage results

moreover, check open code coverage link in web portal.


update

add related screenshot

enter image description here


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -