OpenPojo is a library that enables testing and enforcing POJO's behavior, as well as runtime identity management through deep introspection.
OpenPojo uses reflection to create meta-representation for POJO classes that can then be run through the extensible & configurable validation framework. Validation helps enforce structure of code (i.e. public fields, naming convention, etc), or behavior expectations (i.e. set/get only sets and gets without altering value).
Jtoc is a library for writing test assertions in Java, which provides an easy way to write contracts with java's inner class. Compared with other libraries, Jtoc focuses on completely test the contracts without changing the original design of the class. It supports Unit testing, where the written JUnit tests could be used in the test-project Jtoc generated without any change.
Jtoc is created by using two open source library -- javaparser created and maintained by J. V. Gesser as the Java grammar parser, apache-commons-logging as the logger.
Mistletoe is a JUnit extension intended for integration testing. In technical terms, it is a JUnit test suite runner presenting the test results via HTTP as a Web page.
Accessive is a tool that allows you to access private field or methods for testing purposes. That means that you don't have to make some of your methods or field package protected just to allow for testing.
Accessive uses reflection and dynamic proxies to access private portion of your objects, allowing you to keep them strongly encapsulated and still be able to test their internals.
For more details visit http://code.google.com/p/accessive/.
Jailer is a tool for database subsetting and sampling. It allows you to simply export test data for DbUnit based unit tests from production databases.
For more information visit http://jailer.sourceforge.net/
Features
"Tests with Parameters" allows you to simply add parameters to your JUnit test methods. TwiP calls such methods with all possible combinations of their parameters... or at least some reasonable subset of commonly failing values in the case of Integers, etc. You can further reduce these values with an assume expression in an annotation, e.g. ">= 0". This works for the primitive types (int, etc.), their Class wrappers (Integer, etc.), Enums and Strings.
Jitr (pronounced "jitter") is a JUnit Integration Test Runner. It allows your web application integration tests to easily run against a lightweight web container in the same JVM as your tests.
More details below...
ClassMock is a framework that helps the creation of unit tests for components that use reflection or annotations. In this kind of classes, the behavior is dependent of the class structure. This way, each test case usually works with a different class created specifically for the test. With ClassMock is possible to define and generate classes in runtime, allowing a better test readability and logic sharing between tests.
ClassMock is available at http://classmock.sourceforge.net/
SWTBot is an open-source Java based functional testing tool for testing SWT and Eclipse based applications.
SWTBot provides APIs that are simple to read and write. The APIs also hide the complexities involved with SWT and Eclipse. This makes it suitable for functional testing by everyone. SWTBot also provides its own set of assertions that are useful for SWT. You can also use your own assertion framework with SWTBot.
T2 is a fully automatic trace-based random testing tool for Java, and is now available in a full version! T2 is powerful; it can check e.g. internal errors, method specifications, and class invariant. It is also very versatile, allowing models and specifications to be written in plain Java. It is fast; able to inject thousands of tests in less than a second!