Visual Studio 2013中OpenCover测试工具的使用 [英] OpenCover testing tool usage in Visual Studio 2013
问题描述
我正在尝试将OpenCover用于以C#编写的计算器应用程序.
我已在Visual Studio 2013中打开它,并使用程序包管理器控制台安装了OpenCover和Report Generation程序包.我不明白其他命令是否可以继续.具体来说,-target<target application>
是什么意思?
I am trying to use OpenCover for a calculator application, written in C#.
I have opened it in Visual Studio 2013 and installed the OpenCover and Report Generation packages using the package manager console. I cannot understand the other commands to continue. Specifically what does it mean by -target<target application>
?
我无法理解继续执行的单个步骤.
I cannot understand a single step to continue.
推荐答案
在安装OpenCover时,它将/应该为您提供了一个readme.txt,该文件提供了指向Wiki
When you install OpenCover it would/should have presented you with a readme.txt that provides a link to the wiki http://www.github.com/OpenCover/OpenCover/wiki/usage - there is also a usage.pdf installed with the tool.
-target表示目标应用程序,它可以是您刚编写的应用程序,也可以是诸如nunit的覆盖率工具,它将在运行提供的测试时运行应用程序代码的一部分.
-target means the target application, this can be the app you have just written or a coverage tool such as nunit that would run parts of your application code whilst it is running the supplied tests.
这篇关于Visual Studio 2013中OpenCover测试工具的使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!