Avoid using domain objects in unit tests.
在单元测试中避免使用域对象。
Avoid using domain-specific objects in unit tests.
避免在单元测试中使用特定于域的对象。
Sometimes errors occur in unit tests that aren't thrown by assertions.
有时,发生在单元测试中的错误不是由断言抛出的。
Test harness support, making it very easy to have full testing of Shiro secured-code in unit and integration tests.
支持测试工具,这样可以很容易的对Shiro的安全代码进行单元测试和集成测试。
You can also handle expected exceptions using the constructs available to you in unit testing frameworks such as JUnit.
您还可以使用JUnit这样的单元测试框架中可用的构件来处理预期的异常。
First-in unit initiated a START Triage tagging system.
第一个进入的单位发起了一个START伤检标签的程序。
Chapter Three: Analyze the problems and reason existing in unit proof in Civil Action.
第三章:民事诉讼中单位证明存在的问题及原因分析。
Not only does the distance traveled in unit time remain the same but the direction does not change as well.
不仅单位时间内移动的距离不变,而且其方向也不改变。
The paper makes an approach to financial supervision in unit of traffic capital construction and internal audits.
对交通基本建设单位财务监督与内部审计进行了探讨。
This is largely due to a steady rise in unit Labour costs, as wage increases outstripped productivity growth (see chart).
这很大程度上是因为国内单位劳动成本的稳步上升,工资的增长超过了生产力的增长(见图表)。
This paper presents the situation of application and effect of frequency-converting technique in unit heater system.
本文介绍了变频调速技术在供暖系统补水改造上的应用及改造效果分析。
Declining real wages and a modest upswing in productivity have together produced a sustained drop in unit Labour costs.
实际工资下降以及生产率温和上扬一起造成单位劳动成本的持续下降。
After revamping, four kinds of mixed crude oil can be processed without changes in unit capacity and product specification.
结果表明,改造后装置可以加工四种混合原油,并达到原油加工量不变、生产的产品规格也不变的改造目的。
Italy and Spain have seen sharp rises in unit Labour costs and their labour-productivity growth has stalled or gone into reverse.
意大利和西班牙的单位劳动力成本显著上升而劳动生产率增长却停滞不前甚至出现倒退。
By a mounting example, the problems existed in unit mounting and shaft system alignment of coupling are analyzed and discussed.
通过一个安装实例,分析探讨了联轴器在机组安装时的轴系对中问题。
Strong growth in unit wage costs against the backdrop of a tight-looking jobs market might limit the Fed's scope for rate cuts.
在形势严峻的就业市场背景下,单位工资成本的强劲增长可能会限制联储降低利率的力度。
In this paper, the solvability for a class of nonlinear two-dimensional singular integral equation is considered in unit circular.
研究复平面单位圆域内一类非线性二维奇异积分方程的可解性。
Then, the interrupt of the single chip timer had been used to time precisely, and the Hall pulse number had been counted in unit time.
采用霍尔传感器采集液压泵旋转产生的脉冲,结合单片机定时器的中断来精确计时,并对单位时间内的霍尔脉冲数进行统计。
Some services (for example, those implemented using mainframe or ERP systems) may not be available to developers in unit test environments.
在单元测试环境中,有些服务(例如,那些使用大型机或ERP系统实现的服务)可能对开发人员不可用。
Or the tested object may make use of objects with side effects that may not be desirable in unit testing, like file objects that delete files.
或者,测试对象会使用具有副作用的对象,如删除文件的File对象,而在单元测试中不希望有这些副作用。
As a result, Kuhuang Injection can vastly promote bile secretion of anesthetic rat and markedly increase bilirubin content in bile in unit time.
实验结果,苦黄注射液能显著促进麻醉大鼠的胆汁分泌,并能明显增加单位时间内胆汁中胆红素的含量。
I hope that you see the benefits of using mock objects in unit testing. I also hope this brief tutorial helps you see how to create mock objects easily.
我希望你们能够发现在单元测试中使用模拟对象的益处,也希望这篇简短的指南能够帮您了解如何简单地创建模拟对象。
Several books and papers show how to use mock objects in unit testing. These describe the capabilities that mock objects should have and how to use them.
一些书籍和论文讲述了如何在单元测试中使用模拟对象,描述的是模拟对象应该具备的能力以及如何使用他们。
The maximum yield of corn kernel and straw crude protein in unit area is critical factor to determine the optimum harvesting maturity stage of corn.
单位面积上玉米子实和秸秆粗蛋白最大产量,是确定玉米最适收获时期的关键因素。
This paper discusses a test method for impulse characteristic of real extended grounding electrode in unit length and gives some experimental results.
讨论了单位长度伸长接地体的冲击特性真型试验方法,给出了冲击火花放电特性和伏安特性的试验结果。
External services may not be readily executable in unit test environments; for example, they may depend upon infrastructure not available to the developers.
外部服务在单元测试环境中不能随时执行,例如,它们可能依赖于开发人员无法使用的基础结构。
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).
但在单元测试中读和写文件会减缓测试,增加更多的复杂性(如创建临时目录和在使用后清除文件)。
With the prices of most commodities having recovered somewhat since February 2016, the year-on-year fall in unit prices has slowed to around 5 per cent.
大多数大宗商品的价格自2016年2月以来有所回升,单位价格的同比降幅已收窄至约5%。
Packing charges are usually included in unit price and "including export packing" means the quoted price includes charges of packing suitable for export.
货价通常包括包装费用在内,“包括出口包装”这一用语,意即所报价格包括适合出口的包装费用。
Packing charges are usually included in unit price and "including export packing" means the quoted price includes charges of packing suitable for export.
货价通常包括包装费用在内,“包括出口包装”这一用语,意即所报价格包括适合出口的包装费用。
应用推荐