This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Artima SuiteRunner is a testing toolkit for Java that can be used with JUnit to run existing JUnit test suites, or standalone to create unit and conformance tests for Java APIs. The advantages it offers to JUnit users include reporters, run paths, and recipe files.
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 uses JUnit and extends it.
Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.
Downloadable files: 186917 total downloads to date
Continuous testing uses excess cycles on a workstation to continuously run regression tests in the background, providing rapid feedback about test failures as source code is edited. It reduces the time and energy required to keep code well-tested, and prevents regression errors from persisting uncaught for long periods of time.
OS Independent (Written in an interpreted language)
Daedalos JUnitExtensions make it possible to define test resources as known from the Smalltalk SUnit. Unit tests are speeded up by using test resources, because time-consuming initializations are only done once and remain active over a series of tests. As an example, a database connection is opened before executing the first unit test and can be accessed during the whole testing circle. It isn't necessary to re-open the database connection before a unit test is executed.
DbUnit is a JUnit extension (also usable from 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 avoid the myriad of problems that can occur when one test case corrupts the database and causes subsequent tests to fail or exacerbate the damage.
Downloadable files: 103087 total downloads to date
JUnit extension making test cases data driven. Uses external test data (in Excel, XML etc) which is injected into your test case using standard JavaBeans properties. Data enables and integrates toolkits such as jWebUnit and DbUnit. 100% JUnit compatible
EasyMock with class extension provides an easy, clean framework for creating mock-objects for classes and interfaces. The expected method calls and desired return values are specified, the code under test is run and then the expected behaviour is verified.
TestNG, JUnit or other java unit testing framework.
EclEmma is a free Java code coverage tool for Eclipse, available under the Eclipse Public License. Internally it is based on the great EMMA Java code coverage tool, trying to adopt EMMA's philosophy for the Eclipse workbench.
Gretel is a test coverage monitoring tool for Java programs.The current version provides statement coverage monitoring (identifying which lines of Java have been executed, and which have not been touched by testing).
JVM version 1.3 or later; The Byte-Code Engineering Library (BCEL)
GroboUtils aims to expand the testing possibilities of Java. It contains many sub-projects which experiment with one aspect of testing through Java. Some projects are present to add shared functionality between the testing sub-projects, while others are remnants from the old purpose of GroboUtils (a collection of useful libraries).
JDepend traverses Java class file directories and generates design quality metrics for each Java package. JDepend allows you to automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to manage package dependencies effectively.
JellyUnit is a Jelly based JUnit testing mechanism. This allows Jelly scripts to be used to perform unit testing which can be particularly useful if you wish to test XML, XPath, SQL, HTTP, JMS or SOAP interactions. JellyUnit works by using the JUnit library in a Jelly script to create JUnit TestSuite and TestCase objects.
Jester finds code that is not covered by tests. Jester makes some change to your code, runs your tests, and if the tests pass Jester displays a message saying what it changed. Jester includes a script for generating web pages that show the changes made that did not cause the tests to fail. Jester is different than code coverage tools, because it can find code that is executed by the running of tests but not actually tested. However, Jester is not meant as a replacement for code coverage tools, merely as a complementary approach. Jester is for Java code and JUnit tests. Pester is Jester for Python code and PyUnit tests.
Jete is a Java based system and integration test tool leveraging Junit test cases with Spring framework configurability. System tests are defined as Spring context XML files, and may be invoked via Ant (with junit report functionality).
Framework designed for Unit testing and Function testing for java programing. Unlike the JUnit, Jetif separates test code and data, provides some useful built-in features such as logging, client/server testing support.
An extension to the JUnit framework that enables you to execute unit tests against code that presents a Swing GUI based interface. Recording and playback to/from XML allows novice GUI developers to generate and execute tests.
OS Independent (Written in an interpreted language)
jMock is a library for testing Java code using mock objects. The jMock package makes it quick and easy to define mock objects, lets you define flexible constraints over object interactions, and is easy to extend.
JOSIT (Java Observation Simulation Inspection Toolkit) is an open Application Programmer's Interface for instrumenting applications written in the Java programming language. JOSIT observes user actions, inspects the state of objects and scripts graphical events.
JTestCase is an open-sourced project that helps you in seperating test data from test code. You can organize all your test cases of multiple unit tests into one data file - an XML file, and bulk-load them into memory via sets of easy-to-use APIs that JTestCase provides. In a word, JTestCase provides a way for java unit tests to be test-case-oriented and full-test-automatable.
Macker is a build-time architectural rule checking utility for Java developers. It's meant to model the architectural ideals programmers always dream up for their projects, and then break -- it helps keep code clean and consistent. You can tailor a rules file to suit a specific project's structure, or write some general "good practice" rules for your code. Macker doesn't try to shove anybody else's rules down your throat; it's flexible, and writing a rules file is part of the development process for each unique project.
JDK 1.3.1 or newer; Ant 1.5 or newer for usage from Ant
Mock Objects is a test-first development process for building object-oriented software and a generic unit testing framework that supports that process. Our first implementation is in Java, largely because that's what we've been working in, but also because it has a stable set of APIs that are suitable for writing Mock Objects.
moreUnit is an eclipse plugin that helps you with your JUnit-Tests. Switch via shortcut from the method under cursor and the corresponding testmethod. Create testmethod stubs for method with one shortcut. See which classes/methods are tested at once ...
This project aims to provide a distributed testing environment that extends JUnit. Giving the developer/tester an ability to run remote JUnits and create complex test suites that are composed of several remote JUnit tests running in parallel or serially.
OS Independent (Written in an interpreted language)
Quilt is a Java software development tool which measures coverage, the extent to which testing exercises the software under test. It works very well with Ant and JUnit but may also be used in conjunction with other products.
Slim is primarily a template engine that attempts to be mostly compatible with JSPs. Of particular interest is that Slim ships with a jar file containing support classes for writing unit tests for JSP files.
In the same way that JUnit allows us to write unit tests for Java classes, TagUnit allows us to unit test JSP custom tags, inside the container. In essence, TagUnit is a tag library for testing custom tags within JSP pages.
TESTARE is a testing framework that aims to simplify the test development process for distributed enterprise JAVA applications. It tries to achieve this by providing straightforward and easy to use "in container" testing capabilities through the concept of execution scenarios, and providing native support for test environment management and introspection techniques such as fixtures, global fixtures, probes and guards. Its initial focus is on "in ejb container" testing but its extensible architecture intended to make it very easy to develop support for other execution environments such as servlets, JMS listeners, CORBA ORBs or RMI.
TestGen4J is an open-source tool for automatically generating and executing Java test cases using JUnit. In addition it provides a data driven test harness and an automatic failed test case management utility.
All platforms, but tested on Linux. Dependencies are JUnit 3.8.1 and J2SDK 1.4.2_08
UISpec4J is an Open Source functional and/or unit testing library for Swing-based Java applications, built on top of the JUnit test harness. UISpec4J's APIs are designed to hide as much as possible the intricacies of Swing, resulting in easy to write and easy to read test scripts - this is especially true when comparing UISpec4J tests with those produced using Swing or low-level, event-based testing libraries.
XTest is general test framework for Java based products tests. XTest consists from set of utilities, templates, sample configurations and recommendations how to build integrated, flexible and easy to use test environment.
Ant. Other dependent tools bundled with install files.
No data feed available
For those projects hosted on SourceForge, the project activity data is updated weekly using live newsfeeds powered by CaRP
Quality is never Ending Process of Improvement... So Keep Walking <br />Mansih Bansal <br />QA Idealake