Missing code coverage tab in VS localtestrun.testrunconfig?

半世苍凉 提交于 2019-12-24 07:27:27

问题


I am relatively new to unit testing and was attempting to add some code coverage to my unit tests. Yet i can't find the code coverage tab in Visual Studio 2008 in the localtestrun.testrunconfig, is there any missing Add-in or tool?

Thanks, DMS


回答1:


As I understand "Code Coverage" is available only in "bigger" editions of Visual Studio 2008. In other words, this feature is NOT available in the "Visual Studio 2008 Professional Edition".

Which edition of Visual Studio 2008 are you using ?

MSDN Link




回答2:


Go to the menu Test, select Edit test run configuration for your current test run and check enable code coverage. Then perform a run and then on the test run results you can choose to display code coverage.



来源:https://stackoverflow.com/questions/2064909/missing-code-coverage-tab-in-vs-localtestrun-testrunconfig

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!