Portal application development has special requirements, so both the scope of unit testing and the JUnit framework itself have to be extended.
门户应用程序开发有特殊需求,因此单元测试的范围和JUnit框架本身都需要得到扩展。
This framework extends the standard JUnit so that it can execute unit tests in an application server container.
这个框架延伸了标准的JUnit,从而使它能够在应用服务器容器中执行单元测试。
This article Outlines an approach for customizing the unit test cycle and the JUnit framework to achieve test-driven portal application development.
为实现测试驱动的门户应用程序开发,本文概述一种用于定制单元测试周期和JUnit框架的方法。
A test framework for using JUnit to write unit tests for your client application.
一个使用JUnit为客户机应用程序编写单元测试的测试框架。
You can also handle expected exceptions using the constructs available to you in unit testing frameworks such as JUnit.
您还可以使用JUnit这样的单元测试框架中可用的构件来处理预期的异常。
I am a huge advocate of unit testing and have always loved JUnit.
我本人极力主张进行单元测试,并一直非常喜欢JUnit。
Therefore, you can reuse the underlying JUnit test cases for your EJB unit tests.
因此,您可以为您的EJB单元测试重新使用基本的JUnit测试用例。
For example, Listing 1 defines a unit test that USES JUnit to verify a stubbed out data class called BeerDaoStub.
例如,清单1定义了一个单元测试,该测试使用JUnit来验证一个叫做BeerDaoStub的存根数据类。
Wicket support for unit testing is based on extending the JUnit framework.
Wicket对单元测试的支持基于的是对JUnit框架的扩展。
The Cactus framework is an extension of JUnit that enables you to run unit tests inside a container.
Cactus框架是JUnit的扩展,Junit使您能够在一个容器中运行单元测试。
Service tests can be developed with a simple unit testing framework like JUnit or Cactus.
可以使用简单的单元测试框架(JUnit或 Cactus)来开发测试。
More than any other testing framework, JUnit has driven developers to understand the usefulness of tests, especially of unit tests.
JUnit超过了其他测试框架,推动开发人员理解了测试尤其是单元测试的用途。
See the links in Resources to learn more about JUnit and unit testing.
参见参考资料中的链接了解关于JUnit和单元测试的更多信息。
You will still want to use JUnit to create unit tests for logic that are called without a Web harness.
您仍然希望利用JUnit为那些没有利用Web而调用的逻辑创建单元测试。
JUnit and TestNG are both good tools that enable automated unit testing, driven by the everyday developer.
JUnit和TestNG都是支持自动单元测试的优秀工具,而且由日常的开发人员所驱动。
Overall, I just found that JUnit was doing great in the area of unit testing but was lacking in other places required by any kind of functional or acceptance testing.
总之,我觉得JUnit在单元测试方面做的非常好,但在各种功能性测试和验收测试方面却有很多缺陷。
Luckily most unit test frameworks (such as JUnit) provide facilities to make this type of testing easy.
幸运的是,大多数单元测试框架(如JUnit)提供了轻松进行此类测试的工具。
JUnit is very good at unit testing; however, it unravels when attempting to write functional tests.
JUnit非常适合编写单元测试;但是,当试图编写功能测试时,它就显得力不从心了。
One way to specify the behavior implicitly is to use unit tests written with JUnit (see Resources).
一种隐式地指定行为的方法是使用以JUnit(请参阅参考资料)编写的单元测试。
GWT has the upper hand in terms of unit testing, though, providing JUnit integration for client-side code.
GWT在单元测试上有优势,可以为客户端代码提供JUnit集成。
This step is similar to running pre-deployment unit tests, except for the nature of the JUnit test cases to run.
此步骤与运行部署前单元测试类似,不过 JUnit测试用例的本质不同。
Tested the project source using JUnit framework using both unit and component test cases
既使用单元测试案例又使用组件测试案例的JUnit框架对工程源代码进行测试
Listing 15: Simple Wicket unit test using JUnit and WicketTester.
清单15:使用JUnit和WicketTester的简单Wicket单元测试。
Since the need to unit test J2EE components has become apparent, developers have been exploiting the benefits of the JUnit test framework to perform these tests.
由于对J2EE组件进行单元测试的需求变得越来越明显,开发者们已经开始利用JUnit测试框架的优势来执行这些测试。
JUnit单元测试插件。
I use Ant to build the projects, and JUnit to run the unit test.
我用Ant构建项目,并用JUnit运行单元测试。
He provides, however, links that will let the industrious reader learn about the Groovy language for Ant scripting and JUnit for unit testing.
但是,他提供了学习Ant脚本的Groovy语言和单元测试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.
JUnit一直是一个单元测试框架,也就是说,其构建目的是促进单个对象的测试,它确实能够极其有效地完成此类任务。
Listing 2 is a snippet of an Ant script that demonstrates the junit task to execute a batch of unit tests.
清单2是一个ant脚本片段,介绍了执行一批单元测试的junit任务。
Consider investing some time in a good unit-testing tool like JUnit.
请考虑在优秀的单元测试工具例如JUnit上花一些时间。
应用推荐