为何需要单元测试和单元测试框架?
SET需要编写单元测试框架和自动化测试。
有许多单元测试框架可用于基于 servlet 的应用程序。
There are many unit testing frameworks available for servlet-based applications.
从那以后,该框架演化为针对自动化单元测试框架的实际标准。
Since then, this framework evolved into the de facto standard for automated unit testing frameworks.
单元测试框架,比如JUnit,允许您测试在您的服务器上运行的代码。
Unit testing frameworks, such as JUnit, let you test the code that runs on your servers.
您还可以使用JUnit这样的单元测试框架中可用的构件来处理预期的异常。
You can also handle expected exceptions using the constructs available to you in unit testing frameworks such as JUnit.
可以使用简单的单元测试框架(JUnit或 Cactus)来开发测试。
Service tests can be developed with a simple unit testing framework like JUnit or Cactus.
portletUnit是一个用于测试portlet 的单元测试框架。
尽管DOH对一个新手来说有些复杂,但它的确是一个灵活且强大的单元测试框架。
While the DOH can be daunting for the novice user, it is a flexible and powerful unit testing framework.
幸运的是,大多数单元测试框架(如JUnit)提供了轻松进行此类测试的工具。
Luckily most unit test frameworks (such as JUnit) provide facilities to make this type of testing easy.
与其它的单元测试框架一样,一个典型的JSF测试框架需要具备以下特性。
Like any other unit testing framework, a typical JSF test framework should provide the following features.
一个解决方案是始终通过EnqueueCallback确保异常恰当地报告给单元测试框架。
One solution to this is to always use EnqueueCallback to ensure that exceptions are properly reported to the unit testing framework.
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.
新的测试运行器(test runner)支持所有第三方的单元测试框架,包括xUnit和NUnit。
The new test runner will work with all third party unit testing frameworks including xUnit and NUnit.
对于新的测试运行器和C+ +单元测试框架的一项需求就是,要在一个解决方案中支持200,000项测试。
One of the requirements for the new test runner and C + + unit testing framework is support for 200,000 tests in a single solution.
运行CSUnit测试用例:CSUnitAddin支持运行另一个重要的.NET单元测试框架写的单元测试。
Run CSUnit tests: The CSUnitAddin supports running tests from another one of the major .NET test frameworks.
JUnit一直是一个单元测试框架,也就是说,其构建目的是促进单个对象的测试,它确实能够极其有效地完成此类任务。
JUnit has always been a unit-testing framework, meaning that it was built to facilitate testing single objects, and it does so quite effectively.
这个示例使用的集成框架与前面通过Rails控制台使用的框架相同,使用的断言模型也与功能测试和单元测试框架的模型相同。
This example uses the same integration framework that you used through the Rails console, and it uses the same assertions model as the functional and unit testing frameworks.
和大多数单元测试框架不同,Silverlight使用的那个单元测试框架运行在相同线程上,因此你不能阻止它等待服务调用的返回。
And unlike most unit testing frameworks, the one used for Silverlight runs on the same said thread so you cannot block it while waiting for the service call to return.
支持TFP的典型工具是良好的集成开发环境(integrated development environments IDEs)和单元测试框架。
The typical supporting tools for TFP are good integrated development environments (IDEs) and unit test frameworks.
一旦完成,ObserveOnTest函数就会通过一个叫做WorkItemTestScheduler的特殊计划程序把单元测试框架关联到调用链上。
Once that is done the ObserveOnTest function attaches the unit test framework to the call chain via a specialized scheduler called the WorkItemTestScheduler.
JeffWilcox,Silverlight单元测试框架的主要开发人员,发表了多篇文章谈到Silverlight2的单元测试问题。
Jeff Wilcox, primary developer of the Silverlight unit test framework, has posted several entries on writing unit tests for Silverlight 2.
在单元测试实践的基础上提出了一种单元测试支持工具的设计方法,该工具提供了一个灵活有效的单元测试框架和基于该框架的测试用例管理和优化方法。
A unit testing supporting tool based on testing practice is presented, which provides a flexible and effective unit testing framework and testing case management and optimization methods.
我鼓励您使用这些框架,利用它们的力量来生成单元测试的结果。
I encourage you to use these frameworks, given their power to produce results for unit testing.
不过,我们的开发人员非常自信如果他们有时间熟悉和对这些工具进行改进,这些测试框架对我们的单元测试是非常有价值的。
Nevertheless, our developers were confident that if they had the time to become familiar with and tailor these utilities, they.d find testing frameworks to be invaluable for our unit tests.
因此,开发者可以利用POJO开发业务逻辑和进行单元测试而不必考虑框架。
As a result, developers can focus on the business logic, and unit test their POJOs without the framework.
如果没有测试框架,编写一套可维护的自动化单元测试几乎是不可能的。
Writing a suite of maintainable, automated unit tests without a testing framework is virtually impossible.
门户应用程序开发有特殊需求,因此单元测试的范围和JUnit框架本身都需要得到扩展。
Portal application development has special requirements, so both the scope of unit testing and the JUnit framework itself have to be extended.
在本文中,您将学习到如何用这个叫做TestNG的新测试框架为应用程序编写单元测试。
In this article, you will learn how to write unit tests for an application using a new testing framework called TestNG.
提供非常强大的集成测试框架以在你的网页上运行单元测试。
Very powerful integrated testing framework for running unit tests on your web pages.
应用推荐