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!
Infinitest is a continuous JUnit test runner designed to facilitate Test Driven Development. Infinitest helps you learn TDD by providing feedback as you work, and helps you master TDD by reducing your feedback cycle from minutes to mere seconds.
Whenever you change a class, Infinitest runs your tests for you. If any errors occur, it reports them clearly and concisely. This gives you instant feedback about the semantic correctness of your code, just as modern IDE's give you instant feedback about syntax errors.
Learn more at Infinitest.org
SevenMock v1.1 has now been released. The distribution archive is available on SourceForge at:
http://downloads.sourceforge.net/seven-mock
The major addition to be found in this version is a class extension sub-project, which allows the generated mock objects to be cast directly to classes as well as the interfaces that they implement.
Publish your JUnit test report in pdf format. Plug and Play integration with Ant.
If you have an Ant script that generates HTML reports, just plug in a task with the same settings as the standard JUnitReport.
homepage: http://junitpdfreport.sourceforge.net/
quickstart: http://junitpdfreport.sourceforge.net/managedcontent/GettingStarted
Java mocking is dominated by expect-run-verify libraries like EasyMock or jMock. Mockito offers simpler and more intuitive approach: you ask questions about interactions after execution. Using mockito, you can verify what you want. Using expect-run-verify libraries you often look after irrelevant interactions.
Mockito has similar syntax to EasyMock, therefore you can refactor safely. Mockito doesn't understand the notion of 'expectation'. There is only stubbing or verifications.
Read more: http://mockito.googlecode.com
The Dependent Object Framework (DOF) (http://sourceforge.net/projects/dof/) enables efficient JUnit testing and Test Driven Development against code that depends on objects that are persisted (e.g., database). This code was originally developed to add JUnit tests that used the real database code rather than trying to mock out all the dependencies in a large commercial enterprise product, IBM’s WebSphere Product Center.
SevenMock is a light-weight Java dynamic mock objects implementation.
It works in a similar way to EasyMock and jMock, but is unusual in that it places responsibility for verifying operation parameters directly on the unit test code by use of expectation call-backs. This enables the test designer to write very clear, precisely targeted tests and makes test failures easier to diagnose - any stacktrace produced will point directly back to test code rather than framework code.