It is a basic principle of diagnostic testing that adding tests together increases sensitivity.
组合多个测试方法能提高灵敏度是一个基本原理。
This failure is easy to understand, but I'm not sure I really want to "fix" it — the method I'm not testing is trivial, and adding tests for trivial methods can be a waste of effort.
这个失败很容易理解,但我不确定是不是真的要“修正”它——我没有测试的这个方法非常微不足道,为这么微不足道的方法添加测试有点浪费精力。
Then, I continue to add tests, each time modifying the code by adding new code, changing existing code, and refactoring as I go.
然后,我继续添加测试,每次通过添加新代码、变更现有代码及重新分解的方式来修改代码。
He gets you as far as finishing off some scaffolding and even adding some tests.
他可以让你尽快使用脚手架创建应用,甚至加入一些测试。
However, even when solid test automation exists, you still need to maintain it: adding new tests, modifying existing tests, and adjusting scripts to keep up with the changes in the product.
然而,即使在存在稳定的自动化测试时,您仍然需要对它进行维护:增加新的测试、修改现有的测试以及调整测试脚本以跟上产品的变更。
Adding developer tests to the code base gives you a map to work from, but the progress itself is still painstakingly slow.
向代码库中添加开发人员测试可以为我们提供工作的规划,但是其进展本身仍然是一个艰苦和缓慢的过程。
For really critical sections of your code, you might consider adding some functional tests as a safety net before you start refactoring.
对于代码中真正关键的部分,可能需要在进行重构之前添加一些功能测试作为一种安全保障。
Extensibility: Newly added elements that fall within the scope of the node tests can be easily accommodated by adding new processing code without modifying the existing code.
扩展性:可以轻松修改在节点测试范围内新添加的元素,只需添加新的处理代码,而不必更改现有的代码。
The developer responds by adding code and tests to the source control system.
开发人员作出反应,把代码和测试用例添加到版本控制系统中
You can execute scalar rules fairly efficiently, and adding additional scalar tests or functions in a rule won't significantly impact the execution time of the rule.
可非常高效地执行标量规则,并可在规则中增加附加标量测试或者函数,而不会显著影响规则的执行时间。
The programmers were checking in code multiple times a day, adding automated tests just as quickly, and recompiling even after writing only a dozen lines of code.
程序员会在一天内多次检入代码,尽快地增加自动测试,甚至写了几行代码后就会重新编译。
The test car uses newly designed components still undergoing development, the company said, adding that the final product should be ready for tests next year.
公司还说,安装了最新设计的部件的试验车仍在升级中,最终产品会在明年接受测试。
But reading and writing files in unit tests slows tests and requires adding more complexity (like creating a temp directory and cleaning up files after use).
但在单元测试中读和写文件会减缓测试,增加更多的复杂性(如创建临时目录和在使用后清除文件)。
Adding custom code and extending tests.
添加定制代码和扩展测试。
Adding all the missing tests is time-consuming when you have as much uncovered code as Cobertura has identified here — but it's worth doing.
如果有许多未覆盖的代码,像Cobertura在这里报告的那样,那么添加所有缺少的测试将会非常耗时,但也是值得的。
Note: Yum is really supposed to handle most of these dependencies, but in one of my tests I saw failures to compile that were fixed by adding all these packages.
注:Yum实际上应该可以处理大多数依赖关系,但是在我的一个测试中,我看到编译失败,而这些失败可以通过添加所有这些包来修正。
Download PHPUnit and start adding unit tests for your PHP scripts you can use for testing upgrades.
下载PHPUnit并开始为可用于测试升级的php脚本添加单元测试。
And when PureCoverage reports a high level of code coverage, you know you have not introduced new blocks of code without also adding automated tests to exercise them.
当PureCoverage报告高级别的代码覆盖时,您可以知道并没有引入新的代码块,因此不必增加自动测试。
Get the test to compile by adding the do-nothing withdraw method to Account, then rerun the tests.
通过向Account增加do - nothingwithdraw方法来使测试进行编译,然后重新运行测试。
The CPPUNIT_TEST_SUITE macro, defined in HelperMacros.h, simplifies creating a test suite and adding individual tests to it.
在HelperMacros . h中定义的CPPUNIT _ test_suite宏可以简化创建测试套件并在其中添加测试的流程。
If the reference that the conditional block will use for input does not exist, create it (as explained in the article on adding dynamic data to your Web service tests in the Resources section).
如果条件块为了输入而使用的引用不存在,那么就创建它(这在参考资料部分的文章addingdynamicdatatoyourWebservicetests中有解释)。
For details about creating references and field references, see the article on adding dynamic data to your Web service tests in the Resources section.
想获得创建引用和字段引用的细节,请参考 参考资料部分中的文章addingdynamicdatatoyourWebservicetests 。
As shown by the results of tests 18-21 in Appendix a, adding triggers can cause insert performance to be made several times slower.
附录A中的test 18 - 21表明,增加触发器会导致insert的性能减慢数倍。
The working principle and key parameters of the blade separator were introduced, and tests on the performances of adding the separator on the contra-rotating axial flow fan were carried out.
介绍了叶片分离器的工作原理和关键参数,并对加装了叶片分离器的对旋轴流风机进行了性能测试试验。
Strength and deformation as mechanical performance of concrete improved significantly after adopting light aggregate and adding steel fibres, as shown by results of tests.
试验结果表明,采用轻骨料和加入钢纤维后,混凝土的强度和变形等力学性能的改善,效果十分显著。
The tests of adding antimony to increase hardness of guide way of large beds was described and the results of its application in production was introduced.
介绍加锑提高大型床身导轨硬度的试验情况和生产应用结果。
The tests of adding antimony to increase hardness of guide way of large beds was described and the results of its application in production was introduced.
介绍加锑提高大型床身导轨硬度的试验情况和生产应用结果。
应用推荐