The JUnit Ant task requires junit.jar.
JUnitAnt任务需要junit.jar。
One solution is to use Ant's junit task in conjunction with a nested fileset task.
一种解决方案是联合使用Ant的junit任务与嵌入的fileset任务。
You will find the JUnit libraries junit-3.8.1.jar in the eclipse/plugins/org.junit_3.8.1 directory in your WebSphere Integration Developer installation.
您会在WebSphereIntegrationDeveloper安装中的eclipse/plugins/org.junit_3.8.1目录中找到JUnit库 junit-3.8.1.jar。
Listing 6. JUnit to the rescue!
清单6. JUnit来救援!
IRAD extends JUnit in three ways.
IRAD在三个方面扩展了junit。
Importing existing JUnit test cases.
导入已有的JUnit测试用例。
Download from the JUnit distribution.
从junit分发包下载。
Generating JUnit test cases for your application.
为应用程序生成JUnit测试用例。
Creating the JUnit test cases for the application.
为这个应用软件创建JUnit测试用例。
JUnit itself was last updated almost three years ago.
JUnit本身的最后一次更新差不多是三年以前了。
JUnit-addons: a useful library for anyone using JUnit.
JUnit - addons:对于使用JUnit的开发人员有用的库。
JUnit provides a TestRunner class to execute test cases.
JUnit提供了一个TestRunner类来执行测试用例。
The JUnit task is much like the one defined in Listing 2.
该JUnit任务和清单 2中定义的任务非常相似。
Figure 6 shows a JUnit HTML report with a failing GUI test.
图6显示了GUI测试失败后的一个JUnitHTML报告。
JUnit 3.8 support, specifically in the interactive test runner.
支持JUnit 3.8,特别是在交互式测试运行器中。
DbUnit: a JUnit extension targeted for database-driven projects.
DbUnit:瞄准数据库驱动项目的JUnit扩展。
JUnit 4 doesn't solve this problem completely, but it does help.
JUnit4没有完全解决这个问题,但是它对这个问题有所帮助。
I am a huge advocate of unit testing and have always loved JUnit.
我本人极力主张进行单元测试,并一直非常喜欢JUnit。
Listing 15: Simple Wicket unit test using JUnit and WicketTester.
清单15:使用JUnit和WicketTester的简单Wicket单元测试。
JUnit is a simple and small framework for writing automated tests.
JUnit是一个用于编写自动化测试程序的简单且小型的框架。
Create custom JUnit suite files corresponding to desired categories.
根据所需种类创建定制的JUnit套件文件。
Select "JUnit test into component test project" as the import source.
选择“JUnittestintocomponent testproject ”作为导入源。
See the links in Resources to learn more about JUnit and unit testing.
参见参考资料中的链接了解关于JUnit和单元测试的更多信息。
Sometimes you can isolate portions into simple tests using only JUnit.
有时,您可以仅使用JUnit 将复杂的测试分解成简单的测试。
The problem is, JUnit isn't a panacea; it's a tool, no more and no less.
问题是,JUnit不是万能药,它是一种名副其实的工具。
You should see the successes in the JUnit HTML reports, as in Figure 2.
在JUnitHTML报告中应该可以看到成功信息,如图 2 所示。
Wicket support for unit testing is based on extending the JUnit framework.
Wicket对单元测试的支持基于的是对JUnit框架的扩展。
The setUp method, which is declared by JUnit, initializes the test objects.
由JUnit声明的setUp方法初始化这个测试对象。
These libraries include the JUnit and IBM component test support JAR files.
这些库包括JUnit和IBM组件测试支持JAR文件。
You can run good old JUnit tests under TestNG using a "compatibility mode."
可以在TestNG 下用“兼容模式”运行过去运行良好的Junit测试。
应用推荐