...从测试单个方法到查看是否返回正确的值以及如何处理无效的数据, 以及测试一整套的方法以确保用户输入的顺序导致所需的结果. 单元测试基于四个基本概念: 测试夹具(test fixture)是执行测试所需的设置. 这可能包括数据库, 样本数据集和服务器设置.
基于275个网页-相关网页
...试产说明会(Pilot-run Meeting):资料与样品审核(Documents & Sample Review)、材料准备(Materials)、 测试治具 ( Test Fixture ) 产品设计(Product , Design) ,
基于92个网页-相关网页
... curing fixture固化夹具 test fixture测试夹具;试验夹具;试验夹具试验台;或者称为测试基准 bonding fixture焊接夹具;胶合型架 ...
基于40个网页-相关网页
test fixture board 测试夹板 ; 测试固定板
Phone Test Fixture 电话测试夹具
Pacifier Test Fixture 奶嘴测试器
relief valve test fixture 安全阀测试安装用具
vertical test fixture 垂直试车固定装置
Test fixture design and production 检测治具的设计和制作
horizontally suspended test fixture 水平悬挂试车固定装置
Test Fixture Design 试验工装设计
以上来源于: WordNet
The setUp function provides the test author with his or her opportunity to optionally construct a test fixture.
setUp函数给测试者提供了一个机会, 可以选择在此构造测试夹具(test fixture)。
The tearDown function provides the test author with his or her opportunity to clean up or reset the test fixture.
tearDown函数则给测试者提供了另外一个机会,可以去清除或者重置测试夹具。
As you can see in Listing 3, the Rails environment creates not just your model, but also migrations, a test case, and a test fixture.
如清单3所示,Rails环境不仅创建了模型,还创建了迁移、测试用例和测试fixture。
应用推荐