unit test
单 元 测试
单元 测试 of unit testing
单 元 测试 的
的 单元 测试
就像之前讨论的单元测试 一样,集成测试的逻辑也是用了Arrange、Act和Assert。 Just like in the previous section where we discussed unit testing , the logic for our integration testing also using the Arrange/Act/Assert logic. 数以千计的单元测试 随源代码一起发布,它们对于开发期望样式和行为的控件非常有帮助。 The thousands of unit tests provided complete the source code making it very useful in creating controls with the desired look and behavior. 广泛的单元测试 和自我验证-检测和诊断多种类型的错误。 Extensive unit-testing and self-verification- Detect and diagnose many types of mistake. 你也可以从VisualStudioC++应用的单元测试 工具收集代码覆盖的数据。 You can also collect code coverage data from unit tests for C++ applications within Visual Studio. 广泛的单元测试 和自我验证--能检测和诊断许多类型的错误。 Extensive unit-testing and self-verification- Detect and diagnose many types of mistake.
广泛的单元测试 和自我验证--发现和诊断不同种类的错误。 Extensive unit-testing and self-verification- Detect and diagnose many types of mistake. Yii框架的单元测试 和功能基于Selenium和PHPUnit。 The unit testing and functionality of Yii framework are based on Selenium and PHP Unit. . 更糟的是,Silverlight中仍然没有一个能用的单元测试 框架。 Even worse, Silverlight still doesn't have a usable unit testing framework. 而且,因为对象间的接口非常“简洁干净”,这有助于优秀的单元测试 实践。 Plus, since the interface between objects is"clean", it helps promote good unit testing practices. 如果你希望更改或重写你的代码,并希望不会破坏任何东西,适当的单元测试 是很必要的。 If you want to be able to change or rewrite your code and know you didn't break anything, proper unit testing is imperative. 我们仍然需要你的pullrequest包括任何新功能的单元测试 。 We still require that your pull request contains unit tests for any new functionality. 你应该熟悉JUnit,它是Java的单元测试 框架。 And you should be familiar with JUnit, which is a unit testing framework for Java. Js的文档包含一些在线的实例,和一套完整的单元测试 。 Js includes live code examples, even for interactive cases, and a full suite of unit tests . QtTest模块包含了方法提供PyQt5应用的单元测试 。 QtTest contains functions that enable unit testing of PyQt5 applications. 这就意味着我们的单元测试 只针对add_and_multiply的内部逻辑。 This means that our unit test is only testing logic specifically inside add_and_multiply. 没有人保证你的代码能准时提交、打好标签、进行常规的单元测试 。 There's no one to ensure that your code is checked in on time, labeled properly, unit tested regularly. 底线:如果您正在寻找JavaScript独立的单元测试 框架,Mocha是您的首选框架!! Bottom line: If you are looking for JavaScript stand alone unit testing framework, Mocha is your go-to framework! 那么,如果我们以更好的单元测试 为例,就要先弄清楚单元测试对团队意味着什么? So, if we take the better unit testing as an example, what does unit testing mean to the team? 轻量级且运行很快的单元测试 可以被迅速的执行完,并且在测试失败时能够给出很快的反馈。 The lightweight, fast-running unit tests can be executed very quickly, and give rapid feedback if there are test failures at this level. 下面的图通过运行Hector的单元测试 并使用一个(单节点)嵌入式Cassandra服务器得到。 The following diagrams were produced by running Hector‘s unit tests and using an embedded cassandra server(single node).
Display more examples
Results: 379 ,
Time: 0.0247