单元测试
单元测试是开发者编写的一小段代码,用于检验被测代码的一个很小的、很明确的功能是否正确。通常而言,一个单元测试是用于判断某个特定条件(或者场景)下某个特定函数的行为
Junit(Java)
JUnit 是 Java 语言事实上的 标准单元测试库。JUnit 4 是该库三年以来最具里程碑意义的一次发布。它的新特性主要是通过采用 Java 5 中的标记(annotation)而不是利用子类、反射或命名机制来识别测试,从而简化测试。
Cactus(java)
Cactus is a simple test framework for unit testing server-side java code (Servlets, EJBs, Tag Libs, Filters, ...). The intent of Cactus is to lower the cost of writing tests for server-side code. It...
DbUnit(Java)
DbUnit is a JUnit extension (also usable with Ant) targeted for database-driven projects that, among other things, puts your database into a known state between test runs. This is an excellent way to ...
jmock(Java)
jMock is a library for testing Java code using mock objects1. Mock objects help you design and test the interactions between the objects in your programs. The jMock package: makes it quick an...
EasyMock(Java)
EasyMock provides Mock Objects for interfaces in JUnit tests by generating them on the fly using Java's proxy mechanism. Due to EasyMock's unique style of recording expectations, most refactorings wil...
rMock(Java)
rMock 2.0.0 is a Java mock object framework to use with jUnit. rMock has support for a setup-modify-run-verify workflow when writing jUnit tests. It integrates better with IDE refactoring support and ...
httpunit(Java)
HttpUnit 能模拟浏览器的动作,如提交表单、JavaScript运行、基本HTTP认证、cookies建立以及自动页面重定向,通过编写代码可以处理取回来的文本、XML DOM或表单、表、链接。当与Junit等框架结合时,就能非常容易地进...
jwebunit(Java)
JWebUnit is a Java framework that facilitates creation of acceptance tests for web applications. It evolved from a project where we were using JUnit to create acceptance tests. Also, we can have diffe...
JUnitPerf(Java)
JUnitPerf is a collection of JUnit test decorators used to measure the performance and scalability of functionality contained within existing JUnit tests.
JsUnit
JsUnit is a unit testing framework for client-side JavaScript in the tradition of the XUnit frameworks.
Log4j
log4j 是一个开放源码项目,是广泛使用的以Java编写的日志记录包。由于log4j出色的表现, 当时在log4j完成时,log4j开发组织曾建议sun在jdk1.4中用log4j取代jdk1.4 的日志工具类,但当时jdk...
StrutsTestCase
StrtusTest是junit的扩展,使用它,不需要启动servlet容器就可以方便的测试struts应用程序(容器外测试)。它也是属于使用Mock对象测试,但是与EasyMock不同的是,EasyMock是提供了创建Mock对象的API,而Strut...
ObjectMother
An object mother is a kind of class used in testing to help create example objects that you use for testing.
NUnit
NUnit is a unit-testing framework for all .Net languages. Initially ported from JUnit, the current production release, version 2.4, is the fifth major release of this xUnit based unit testing tool for...