Java Open Source Projects Directory

...dedicated into Java open source projects

  • Increase font size
  • Default font size
  • Decrease font size
Testing Tools


JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.



Ejb3Unit - out of container EJB 3.0 testing. Ejb3Unit is a JUnit extention and can execute automated standalone junit tests for all JEE or Ejb3 projects. The out of container approach leads to short build-test-cycles, no container deployment is needed.



SpringUnit is a framework that enables Java developers to create unit tests where test data is separate from tests algorithms. Writing tests this way: - enables easy addition of test cases that differ only in their inputs and expected outputs - facilitates reuse of data values across test cases - reduces Java source code devoted to the creation and retrieval of data values - promotes and supports a style that removes redundant test algorithmic code



jMock is a library for testing Java code using mock objects. The jMock package:

 * makes it quick and easy to define mock objects, so you don't break the rhythm of programming.
 * lets you define flexible constraints over object interactions, reducing the brittleness of your tests.
 * is easy to extend.



STclass is a unit testing framework comparable to JUnit and its clones, but based on runtime evaluable contracts as defined by B. Meyer in the "Design by Contract"(tm) approach. It implements runtime evaluable contracts and contract based class level unit testing; inheritance of contracts and tests is handled. The framework generates reports in XML, and postprocessing tools produce nice HTML reports; using the JIP profiler, a statisitic and profiling analysis can be made during the test, and its resuts are added to the HTML report.



Jacareto is a capture & replay tool for programs written in Java. You can capture actions on applications and replay them later on (like macros). Jacareto can be used for many purposes:

 * GUI tests
 * Creation of animated demonstrations
 * Creation of macros
 * Qualitative and quantitative analyses of user behavior There are two front ends included in Jacareto:
 * CleverPHL is a GUI front end for Jacareto
 * Picorder is a command line front end for Jacareto Jacareto is subject to the GNU General Public License (GPL).



QC4J is an automated, specification-based testing framework, based on QuickCheck for Haskell. It makes it easy to test referentially transparent code, by creating test data automatically through user-defined generators.



TestGen is a collection of open-source tools that automatically generates unit test cases. The first released component of TestGen is TestGen4J. TestGen4J automatically generates test cases from your own Java class files, or source files. Its primary focus is to exercise boundary value testing of the arguments passed to the method. It uses a rules engine, with a user-configurable XML file, that defines boundary conditions for the data types. The test code is separated from test data with the help of JTestCase. The test code is generated in a hierarchical manner. A main test suite is generated which invokes test suites of individual classes. The individual class test suite is formed by collection of test methods of that class. The test data is also organized hierarchically, corresponding to the structure of the test code, in XML format. This XML file actually has data for all unit test cases for each method. JTestCase helps to loop through all the test cases of each method and executing one by one against JUnit.

  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  5 
  •  6 
  •  7 
  •  Next 
  •  End 
  • »

Page 1 of 7