Home > Computers > Programming > Languages > Java > Development Tools > Performance and Testing > Unit Testing
A unit test is a procedure used to verify that a particular module of source code is working properly. The principle behind unit testing is to write test cases for all functions and methods. Whenever a change causes a regression, defects can be quickly identified and fixed. Ideally, each test case is separate from all others. Unit testing is mostly done by the developers and not by end-users. The concept is part of the Extreme Programming method of software engineering. Various unit testing frameworks, based on a design by Kent Beck, have come to be known collectively as xUnit, and are available for many programming languages and development platforms.
http://jakarta.apache.org/cactus/
A JUnit based test framework for integration unit testing of server-side Java code (Servlets, EJBs, Tag Libs, Filters). Test runners integrate with Jetty, Eclipse, Ant or a Browser. Cactus tests are supported amongst others by JUnitEE, JBuilder and TogetherCC. [Apache 1.1]
http://concordion.org/
Java framework used for creating specification by example tests. [Open Source, Apache License]
http://dbunit.sourceforge.net/
A JUnit extension that puts a database into a known state between test runs. It can export and import a database (or parts) to and from XML datasets. [Open Source, LGPL]
http://www.jaxcent.com/
Unit test Web Applications by automating the Internet Explorer. Unit testing samples using JUnit are provided. [Commercial, trial version]
http://jtestcase.sourceforge.net/
A framework which helps in separating test data from JUnit test code by loading data from XML files. It's recommended to use in JUnit test framework or JProbe. [Open Source, Common Public License]
http://www.junit.org/
A unit testing framework which is a central element of the Extreme Programming (XP) testing practice. The site also features information about other unit testing frameworks. [Open Source, IBM Public License]
http://junitour.sourceforge.net/
Extension to Junit make "Unimplemented" or "Still Incomplete" tests labeled differently, for later development. [Open Source, ASL]
http://mockito.org/
A popular framework for making mock objects in Java. [Open Source, MIT License]
http://mockmaker.sourceforge.net/
A program for creating source code for mock object classes. MockObjects can then be used to help writing automated unit tests using JUnit. [Open Source, MIT license]
http://sourceforge.net/projects/pisces/
An extension to JUnit for distributed testing environments. Gives developers and testers the ability to create complex test suites that may be composed of remote unit tests running in parallel or serially. [Open Source, GPL]
http://stclass.stage.tigris.org/
A unit testing framework comparable to JUnit, but based on runtime evaluable contracts. It implements contract based class level unit testing; inheritance of contracts and tests is handled. [Open source, LGPL]
http://surrogate.sourceforge.net/
A complimentary unit testing framework, especially suitable for unit testing of large, complex Java systems. The framework integrates seamlessly with JUnit, MockEJB and various mock object implementations. [Open Source]
http://tagunit.sourceforge.net/
Allows unit testing of JSP custom tags within their special environment. The contents and side effects (attributes, cookies) of a custom tag are checked with assertions. [Open Source, BSD license]
http://testng.org/
JUnit-inspired test framework with extra functionality. [Open Source, Apache License]
http://wounittest.sourceforge.net/
A framework for unit testing WebObjects applications based on JUnit. WOUTRunner is a Cocoa application for running JUnit tests of WebObjects projects. It is based on the WOUnitTest framework. [Open Source, BSD License]
Home > Computers > Programming > Languages > Java > Development Tools > Performance and Testing > Unit Testing
Thanks to DMOZ, which built a great web directory for nearly two decades and freely shared it with the web. About us