teardown中文,teardown的意思,teardown翻译及用法

2025-11-01 20:37 浏览次数 15

teardown

英['tɪədaʊn]美['terˌdoʊwn]

n. 拆卸;待拆房屋

teardown 英语释义

英语释义

    1. the act or process of disassembling

    2. to cause to decompose or disintegrate

    3. vilify, denigrate
    trying to tear down his reputation

    4. to take apart disassemble
    tear down an engine

teardown 片语

片语

TearDown TestCleanUp标识测试用例资源释放函数

teardown vt折毁拆卸

procedure TearDown清除数据

rig teardown鉆机拆卸

Connection teardown连接拆除

disassembly拆卸;分解

teardown bench出租车

teardown inspection分解检查

Teardown time休息时间

Teardown Ind拆卸指示符

tearing down拆卸

teardown 例句

英汉例句

  • a huge issue in designing and writing a test suite is how to handle common setup and teardown code.

    在设计和编写测试套件时,一个大问题是如何处理共同的setup和teardown代码。

  • you can also define a setup function to be run before a test case is executed and a teardown function to be run after it completes.

    你也可以定义setup和teardown方法使其分别在执行测试前和完成后运行。

  • the setup method is called before execution of a unit test, and teardown is called when the test is executed.

    在执行单元测试之前调用setup方法,在测试执行完时调用teardown

  • the next steps in a teardown are identifying the parts and calculating the costs of materials and assembly.

    拆解的下一步工作就是辨认零部件以及计算这些零部件在材料和装配方面的成本。

  • it occurs to many developers after authoring a few standard unit test functions that it would be better to move the call to verify from the test functions to the teardown function.

    许多开发者遇到过这样的事情,写了一些标準的单元测试函数之后,就认为把对verify方法从测试函数移到teardown函数更好。

  • the teardown function provides the test author with his or her opportunity to clean up or reset the test fixture.

    teardown函数则给测试者提供了另外一个机会,可以去清除或者重置测试夹具。

  • normally, these components don「t run without a container, requiring you to perform special setup before testing and teardown afterward.

    通常,这些组件没有容器不能运行,并要求您在测试前和拆卸后执行特殊设置。

  • for nose, therefore, a test lives inside of not one but a series of concentric containers, any of which can contain setup code that gets run before the test and teardown code that gets run afterward.

    因此,对于多层 「同心」容器内的测试,nose 会在运行测试之前运行所有容器中的setup代码,在运行测试之后运行所有容器中的teardown代码。

  • there is one case in which nose does not care about the name of setup and teardown functions: when you specify them explicitly for a particular function using the @with_setup decorator.

    在一种情况下,nose不考虑setup和teardown函数的名称:使用 @with_setup 修饰符为某一函数显式地指定它们。

  • therefore, it」s a good idea to use assertion macros in the teardown code for better maintenance.

    因此,为了便于维护,最好在teardown代码中使用断言宏。

  • however, if you want exception handling you must do it only in the teardown code because throwing an exception from the destructor results in undefined behavior.

    但是,如果需要异常处理,那么只能在teardown代码中进行,因为从析构函数中抛出异常会导致不确定的结果。

  • as you can see from this output, the setup and teardown routine messages appear once each per unit test execution.

    正如在输出中看到的,每次执行单元测试都会显示设置和清除例程消息。

  • to eliminate repetitious code like this, many testing frameworks provide a way to indicate once what setup and teardown code needs to run for each of entire groups of tests.

    为了消除这些重复的代码,许多测试框架提供了一次性指定每个测试都需要运行的setup和teardown代码的机制。

  • and while a teardown doesn't account for the costs of design, software, manufacturing, or shipping, these cost estimates help fill in the blanks toward estimating the profit on each device sold.

    但拆解并没有计入设计,软件,生产和运输的成本。这样的开销估算填补了对每一台售出设备的利润估计的空白。

teardown 同义词

相似词

annihilate湮灭;湮没

cream奶油,乳脂;精华;面霜;乳酪

decimate大批杀害,大量毁灭;大大削弱,使……严重失效;抽杀……十分之一的人;十中抽一,取十分之一

demolish拆除;破坏;毁坏;推翻;驳倒

desolate使荒凉;使孤寂

destroy破坏;消灭;毁坏

devastate毁灭;毁坏

do in使精疲力竭

extinguish熄灭;压制;偿清

nuke以核武器攻击

pull down摧毁,推翻;拉下来;使……下跌

pulverize粉碎;使成粉末;研磨

raze(Raze)人名;(法)拉兹

rub out擦掉,擦去

ruin(Ruin) (法、俄、意、瑞典)吕安(人名)

shatter粉碎;损坏;落叶

smashad 哗啦一声

total全部的;完全的;整个的

vaporize使…蒸发

waste浪费;变消瘦;挥霍钱财

wrack海藻类植物;行云团,高空碎云;遇事船,失事船只的残骸;破坏

wreck破坏;失事;残骸;失去健康的人

teardown 反义词

相反词

build建立;建筑

construct构想,概念;编造,杜撰;(短语的)结构成分,结构体;建造物,构筑物

erect(使)竖立;建造;创立;安装;勃起

put up提供;建造;举起;提高;推举,提名;供给…住宿;直接行动

raise(Raise) (意、法、英、美)雷兹(人名)

rearad 向后;在后面

set up建立;装配;开业;竖立

相关热词