可以轻松对任何目标测试进行调试或执行代码覆盖率测试。
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.
在最高层次上开始测试能够以最快速度获得代码覆盖率。
The fastest gains in code coverage come by starting your tests at the highest level.
代码覆盖率就是最重要的测试指标之一。
One of the most critical measurements for testing is code coverage.
在对内部记帐包作出变更前,您可以分析代码覆盖率报告,以确定是否有任何测试真正测试了这个包。
Before making changes to the internal billing package, you could analyze a code coverage report to determine if any tests actually tested the package.
更妙的是,我可以在浏览器中打开一个覆盖率文件并查看测试用例所覆盖的代码行。
Better still, I can open a coverage file in my browser and see exactly which lines of code my test cases cover.
首先,他承认对遗留环境(代码没有测试)采取高覆盖率的确需要长期的高投入。
First he concedes that getting high coverage in place for a legacy environment (one where the code does not have tests) does require a potentially high, long-term investment.
覆盖率分析也可以帮您找到测试用例是否有冗余:测试在代码的同一路径下反复运行,导致了不必要的时间延迟。
Coverage analysis also helps find out if there are any redundant test cases: tests that exercise the same path in the code over and over again, causing unnecessary delays.
此外,通过提供被注入对象的存根实现、改进测试覆盖率和代码质量,可轻松对编写良好的应用程序类执行单元测试。
Furthermore, well-written application classes can easily be unit tested by providing stub implementations of the injected objects, improving test coverage and code quality.
测试覆盖率:代码被测试过的百分比。
这时您就需要检查覆盖率分析的数据,以帮您确定哪些自动化测试的子集需要运行,这样就可以让您在更短的时间内验证新的代码。
You can examine the coverage analysis data to help you determine which subset of the automation suite needs to be run, allowing you to validate the new code in less time.
对单元测试的小的变化将要求我们重新检查代码以确保完全的覆盖率被维护。
Small changes to the unit tests would require us to audit the code again to ensure that full coverage had been maintained.
重点是,采用TFP 可以确保您在单元测试中实现相当大的代码覆盖率——可能远远超过我今天所达到的。
The important point is that adopting TFP guarantees that you will achieve a significant amount of code coverage in your unit tests -- probably far more than what you achieve today.
而另一方面,就架构性代码覆盖率来讲,系统测试是一件极为划算的事情。
On the other hand, they offer quite a bit of bang for the buck, so to speak, in terms of architectural code coverage.
如果一个方法有10行代码,其中的8行在测试中被执行,那么这个方法的行覆盖率是80%。
If a method is 10 lines long and 8 lines of the method were exercised in a test run, then the method has a line coverage of 80%.
代码覆盖率指示我们已经在一个测试用例之后完成了此操作,但CC却会强迫我们编写额外的测试用例。
Code coverage indicated we were done after one test case, but CC forced us to write an additional one.
除了这些组件之外,还有一些试验性的开发工具用于单元测试、代码覆盖率和浏览器中的自动化测试。
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.
发现的问题没有被测试过:代码覆盖率问题。
Problem has been found for which no test exists: code coverage.
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.
通过生成代码覆盖率的具体数值,Cobertura将单元测试从一种艺术转变为一门科学。
By producing hard Numbers for code coverage, Cobertura transforms unit testing from an art to a science.
Brown认为,100%的测试覆盖率是很难做到的,非常不切实际,他建议80%,覆盖代码最重要的部分。
Brown considers that 100% testing coverage is hard to achieve, quite impractical, suggesting 80%, covering the most important pieces of the code.
在代码测试的次数方面,在之前的项目中我们没有打算在我们的软件中进行 100% 代码覆盖率的测试。
In terms of how much of the code to test, on previous projects we hadn.t aimed for 100% code coverage in our software.
差异报告比较两种类型的覆盖率数据,并报告覆盖率数据是怎样由于源代码或者测试中的更改而发生变化的。
Difference reports compare two sets of coverage data and report on how the coverage Numbers have changed due to modifications in the source code or in the tests.
我认为测试是软件开发的一个基本方面,代码覆盖率则是衡量一个人测试质量的关键工具。
I consider testing an essential aspect of software development, and code coverage is a key tool for measuring the quality of one's testing.
测试中有可信度并不是和代码覆盖率有关,而是相信团队成员,他们会为重要的事物增加测试。
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.
测试代码的变更:您增加的用来改善代码覆盖率的测试用例可能导致变慢,也有可能这部分代码特别容易影响速度。
Change in test code: a test case that you added to improve code coverage may be causing the slowdown, possibly exercising a peculiar portion that is vulnerable to speed.
代码覆盖率分析可以针对您的测试用例的有效性给出有价值的反馈。
The analysis gives you invaluable feedback about the effectiveness of the test suite that you were relying on.
代码覆盖率是软件测试的一个重要方面,对于一个构件的总体系统测试来说可能是一个基本的参数。
Code coverage is an important aspect of software testing, and can be considered fundamental to the overall system testing of a component.
取得更高的代码覆盖率并且增加团队的信心,需要通力合作并执行自动化组件测试、性能测试和功能测试。
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.
代码覆盖工具可报告测试覆盖率——以行覆盖或分支覆盖形式表示——它表示测试运行时所涉及的代码量。
A code coverage tool reports test coverage — either in the form of line or branch coverage — that represents the amount of code that is being touched when a test is run.
应用推荐