真正重要的是本框架代码编写得很好,经过仔细调优和很好的测试。
What actually matters is that the framework code is well written and carefully tuned and well tested.
编写具有更多代码(从而可实现更多功能)的测试通常要以附属框架的形式执行更多的调查工作。
Writing tests that reach more code and therefore exercise more functionality usually takes more legwork in the form of adjunct frameworks.
框架中还带有一些代码示例,包括图书馆、电子邮件客户端以及面向文档的应用程序,另外还带有对单元测试的基本支持。
The framework also comes with code samples for a book library, an email client, a document oriented application, and also basic support for unit tests.
单元测试框架,比如JUnit,允许您测试在您的服务器上运行的代码。
Unit testing frameworks, such as JUnit, let you test the code that runs on your servers.
产生的代码是基于JUnit框架的一个扩展,所以如果你已经有了一个针对已有的JUnit测试的类库,你就可以在IRAD的环境中导入并运行它们。
The generated test code is based on an extension to the JUnit framework, so if you already have a library of existing JUnit tests you can import and run them within the IRAD environment.
框架实行UImodule和测试代码的分离,从而有利于重构。
The framework enforces the separation of UI modules from the test code, allowing easy refactoring.
根据工程规范,使用建议步骤和JUnit框架开发测试代码。
Developed the test code according to the project specification using the Suggested steps and the JUnit framework.
例如,我通常使用DbUnit框架来帮助管理数据库,以便组件测试可验证依赖数据库数据的代码功能。
For example, I often employ the DbUnit framework to help manage a database so that my component tests can verify the functionality of code that relies on the database's data.
本文详细讨论了这三种Python测试框架如何检查代码基并选择它们认为包含测试的模块。
The article has now covered all of the details about how these three Python testing frameworks examine your code base and select which modules they think contain tests.
Moq的目标就是为了帮助那些编写测试代码,但却不使用Mocking框架的开发人员。
Moq targets those developers who are writing tests but are not using mocking frameworks.
对于将在第2部分中讨论的性能测试,我用每一种数据绑定框架来生成代码。
For the performance tests I'll cover in Part 2, I generated code using each of these data binding frameworks.
这些框架支持更简单的测试方法,让项目不再需要为运行测试编写和维护专门的代码。
These support more simple test idioms, and can replace the ad-hoc code that projects have traditionally had to write and maintain for running their tests.
即使一个开发团队没有在使用测试驱动开发方式,拥有一个可编程的能测试实际UI代码的框架,对于回归和集成测试也是很有价值的。
Even if a development team does not practice test-driven development, having programmatic tests exercise UI code is valuable for regression and integration testing.
对于那些想要使用多个测试框架来测试他们代码库的人员而言,Gallio能够提供一个单独的集成和自动化点。
For those who want to use multiple test frameworks against their code base, Gallio can provide a single integration and automation point.
为了消除这些重复的代码,许多测试框架提供了一次性指定每个测试都需要运行的setup和teardown 代码的机制。
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.
即使现在已经有了很多测试框架,例如TestNG、Selenium和FEST,但不对代码进行测试的理由仍然充分。
Even with the abundance of testing frameworks like TestNG, Selenium, and FEST, the reasons for not testing code are manifold.
首先根据规范使用JUnit框架创建测试案例,然后开发实际的源代码。
Test cases were created first according to the specification using the JUnit framework, and then the actual source code was developed.
Py devEclipse模块附带几个代码片段,其中之一可以为代码快速构建一个单元测试框架。
The Pydev Eclipse module comes with several code snippets, including one for rapidly creating a unit test framework around which to build your code.
这个框架很容易满足大多数基准测试需求:只要把目标代码打包成特定类型的任务对象(Callable或Runnable),然后调用benchmark类。
The framework is easy to use for most benchmarking needs: just package the target code into some type of task object (either a Callable or Runnable) and then make a single call to the benchmark class.
要说明它在处理GUI事件的威力,Rx框架已经在SilverlightToolkit单元测试中使用,并包含源代码,封装在System . Reactive . dll中。
To demonstrate its power in handling GUI events, the Rx framework has been used in Silverlight Toolkit Unit Test and it's been included in its source code, packaged in System.Reactive.dll.
既使用单元测试案例又使用组件测试案例的JUnit框架对工程源代码进行测试
Tested the project source using JUnit framework using both unit and component test cases
为了演示这个框架的使用方法,我把main 替换为清单 2中的代码,从而重新对 清单1 中的代码进行基准测试
As a quick application of the framework, I'll rebenchmark the code in Listing 1 by replacing main with the code in Listing 2
集成的单元测试以及与测试框架的紧密集成便于在生命周期中更早、更快地生成质量更好的代码(降低了成本,提高了工作效率)。
Integrated unit testing and close integration with a testing framework facilitates earlier creation of better quality code sooner in the life cycle (cutting costs and increasing productivity).
该文给出详细方案设计和代码框架,通过测试验证该隐蔽通道的有效性。
Detail design and code framework are given, tests are done to validate the network covert channel.
系统软件采用了模块化软件框架思想,提高了代码的使用效率,使快速搭建测试系统成为可能,也利于系统功能的更新。
The open ATS structure was introduced when we built the testing system, which made the expansion and update possible. The software of the system adopted a modularized framework.
持续集成非常看重测试,并且在软件代码本身中达到了测试自动化——我将其称为自测试代码,通常使用流行的XUnit测试框架的一个版本。
Continuous Integration assumes a high degree of tests which are automated into the software: a facility I call self-testing code. Often these use a version of the popular XUnit testing frameworks.
持续集成非常看重测试,并且在软件代码本身中达到了测试自动化——我将其称为自测试代码,通常使用流行的XUnit测试框架的一个版本。
Continuous Integration assumes a high degree of tests which are automated into the software: a facility I call self-testing code. Often these use a version of the popular XUnit testing frameworks.
应用推荐