代码覆盖率就是最重要的测试指标之一。
One of the most critical measurements for testing is code coverage.
Coverlipse:测量代码覆盖率。
这时代码覆盖率分析就有用了,它可以扩展您的视野。
When code coverage analysis is used at such a juncture, the results are frequently eye opening.
在最高层次上开始测试能够以最快速度获得代码覆盖率。
The fastest gains in code coverage come by starting your tests at the highest level.
可以轻松对任何目标测试进行调试或执行代码覆盖率测试。
Allows you to easily debug or run code coverage on any target tests.
另一方面,由于其宽广的范围,它们实现了比单元测试更广的代码覆盖率。
On the other hand, they achieve more code coverage than unit tests do because of their wide reach.
而另一方面,就架构性代码覆盖率来讲,系统测试是一件极为划算的事情。
On the other hand, they offer quite a bit of bang for the buck, so to speak, in terms of architectural code coverage.
运行时,这些函数调用把应用代码覆盖率的相关信息发送给一个单独的工具。
At runtime, these function calls send information on the application's code coverage to a separate tool.
代码覆盖率报告指示100%的覆盖率,但我们知道这是一个误导。
The code coverage report indicates 100 percent coverage; however, we know this is misleading.
代码覆盖率分析可以针对您的测试用例的有效性给出有价值的反馈。
The analysis gives you invaluable feedback about the effectiveness of the test suite that you were relying on.
如果您的项目的代码覆盖率达到了100%,那么可以安全地重构代码。
If you have 100 percent code coverage on your project, you can refactor your code with impunity.
在这里,有趣的是我们可以使用圈复杂度而不是使用代码覆盖率来找出这个缺陷。
What's interesting here is that we were able to spot this defect using cyclomatic complexity rather than code coverage.
您也可以在第4步之前使用一个代码覆盖率工具,但是我宁愿您手动完成前面的步骤。
You could use a code coverage tool before step 4, but I prefer to do the preceding steps manually.
正如您所见,使用CoverlipseEclipse插件可以更快地确定代码覆盖率。
As you an see, you can determine code coverage much more quickly using the Coverlipse Eclipse plugin.
代码覆盖率回答了一个更要的问题:“在测试时,我们的代码有多少被执行到了?”
It answers an important question: "How much of our code is being exercised when we test?"
注意在每一个服务器实例的后面必须有一个指南,这些服务器实例会执行一个代码覆盖率程序。
Note that the instructions must be followed on each server instance that is executing a code coverage-enabled application.
它可以从一个参数化的单元测试中自动生成一个传统的单元测试集,而且有很好的代码覆盖率。
From a parameterized unit test, it automatically produces a traditional unit test suite with high code coverage.
通过生成代码覆盖率的具体数值,Cobertura将单元测试从一种艺术转变为一门科学。
By producing hard Numbers for code coverage, Cobertura transforms unit testing from an art to a science.
代码覆盖率是软件测试的一个重要方面,对于一个构件的总体系统测试来说可能是一个基本的参数。
Code coverage is an important aspect of software testing, and can be considered fundamental to the overall system testing of a component.
我认为测试是软件开发的一个基本方面,代码覆盖率则是衡量一个人测试质量的关键工具。
I consider testing an essential aspect of software development, and code coverage is a key tool for measuring the quality of one's testing.
接下来,我将运行一个代码覆盖率工具,比如Cobertura,并将获得如图1中所示的报告。
Next, I run a code coverage tool, such as Cobertura, and get the report shown in Figure 1.
在对内部记帐包作出变更前,您可以分析代码覆盖率报告,以确定是否有任何测试真正测试了这个包。
Before making changes to the internal billing package, you could analyze a code coverage report to determine if any tests actually tested the package.
在您激活一个项目中的代码覆盖率以后,覆盖率统计数据就会在下一次程序启动的时候生成。
After you enable code coverage on a project, coverage statistics will be generated the next time that the application is launched.
除了这些组件之外,还有一些试验性的开发工具用于单元测试、代码覆盖率和浏览器中的自动化测试。
In addition to the components are experimental development tools for unit testing, code coverage, and automated tests inside the browser. New in this release are.
代码覆盖率指示我们已经在一个测试用例之后完成了此操作,但CC却会强迫我们编写额外的测试用例。
Code coverage indicated we were done after one test case, but CC forced us to write an additional one.
测试中有可信度并不是和代码覆盖率有关,而是相信团队成员,他们会为重要的事物增加测试。
Having trust in the tests is not about code coverage, is about trusting your team mates they will add tests for all the important things.
测量代码覆盖率使您可以获得寻找并修复bug所需的信息,从而开发出对每个人来说都更健壮的软件。
Measuring code coverage gives you the information you need to find and fix bugs, producing more robust software for everyone.
取得更高的代码覆盖率并且增加团队的信心,需要通力合作并执行自动化组件测试、性能测试和功能测试。
Achieving higher code coverage and increasing a team's collective confidence takes a concerted effort to incorporate and execute automated component, performance, and functional tests as well.
通过使用这些特定的报告,使用这些代码覆盖率数据,以探测许多团队可能会碰到的一些共同类型的问题。
By using these specialized reports it is possible to use code coverage data to detect some common types of problems that many teams encounter. For example.
3对于评分者来说在Coverlipse下运行测试并决定是否有100%的代码覆盖率是十分容易的。
3 It's easy for graders to run the tests under Coverlipse and determine if there is 100% code coverage or not.
应用推荐