Interview Questions

Free Java Testing Tools

List of Software Test Tools


(Continued from previous question...)

Free Java Testing Tools

Free Java Testing Tools

Tool/Product Name Requirements Comments
Artima SuiteRunner OS Independent, JUnit It is a free open source testing toolkit for Java. We can use this tool with JUnit to run existing JUnit test suites, or standalone to create unit and conformance tests for Java APIs. The three main advantages Artima SuiteRunner offers to JUnit users are reporters, runpaths, and recipe files. Existing JUnit users can use SuiteRunner to run their JUnit tests, which allows them to gain the benefits of reporters, runpaths, and recipe files while continuing to use their JUnit test cases.
Cactus JUnit Cactus is a simple test framework for unit testing server-side java code. The intent of Cactus is to lower the cost of writing tests for server-side code. It uses JUnit and extends it. Cactus implements an in-container strategy, meaning that tests are executed inside the container.
Daedalos JUnitExtensions JUnit The djux 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 an unit test is executed
DbUnit JUnit DbUnit is a JUnit extension (also usable with 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.
djUnit Eclipse djUnit plug-in is JUnit TestRunner with the original classloader. djUnit ClassLoader modifies class in loading to JVM, and runs tests using the modified class.
Emma Java Emma is an open-source toolkit for measuring and reporting Java code coverage.
Gretel Java Virtual Machine Gretel is a test coverage-monitoring tool for Java programs. The current version provides statement coverage monitoring. The primary difference between Gretel and other coverage monitoring tools is that Gretel implements residual test coverage monitoring: After you run a program that has been instrumented with Gretel, Gretel can re-instrument the program and remove instrumentation for those parts that have already been executed
GroboUtils Java environment GroboUtils aims to expand the testing possibilities of Java. It contains many sub-projects which experiment with different aspects of testing through Java. The popular tools included with GroboUtils include multi-threaded tests, hierarchial unit tests, and a code coverage tool.
Hansel Java , JUnit and BCEL Hansel is an extension to JUnit that adds code coverage testing to the testing framework. Much of the source code is taken from Gretel a "Residual Test Coverage Monitoring"-Tool developed at the University of Oregon .
J2MEUnit Java environment J2MEUnit is a Java 2 Micro Edition ( J2ME) library containing a unit testing framework for J2ME applications. It is based on the source code of the original  JUnit, the successful unit testing framework for the standard (desktop) edition of Java, J2SE.
Jacareto Java Virtual Machine Jacareto is a capture & replay tool for programs written in Java. It allows you to easily create your own capture&replay tools.
JellyUnit JUnit 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.
Jester JUnit, Java, Python Jester is a test tester for testing your java JUnit tests (Pester is for Python PyUnit tests). It modifies your source code, runs the tests and reports if the tests pass despite the changes to the code. This can indicate missing tests or redundant code
Jetif Command-line interface The Jetif is a regression test framework in pure Java. It provides a simple and flexible architecture for Java unit testing and functional testing, and used for testing in both individual and enterprise software development. It's easy to use, but powerful, and with some important features for enterprise software testing. This project was inspired by JUnit, JtestCase, and TestNG.
Jiffie Windows OS Jiffie, a Java/JNI library that allows Microsoft Internet Explorer to be controlled from Java. The primary purpose of this library is to allow automated regression testing of web applications using a framework like JUnit
JUnit OS Independent 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.
Quilt JUnit, ANT Quilt is a Java software development tool that measures coverage , the extent to which unit testing exercises the software under test. It is optimized for use with the JUnit unit test package, the Ant Java build facility, and the Maven project management toolkit.
Macker JDK, ANT 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
MockObjects OS independent 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.
Mockrunner OS Independent Mockrunner is a lightweight framework for unit testing applications in the J2EE environment. It supports Struts actions and forms, servlets, filters and tag classes. Furthermore it includes a JDBC and a JMS test framework and can be used in conjunction with MockEJB to test EJB based applications.
NoUnit Java, XML NoUnit measures your Junit tests in your project using Java, XML and XSLT. NoUnit gives a picture of your code , like a graph gives you a picture of a set of figures, to allow you to see what is *really* going on.
PMD Java Virtual Machine PMD scans Java source code and looks for potential problems. PMD has plugins for JDeveloper, Eclipse, JEdit, JBuilder, Omnicore's CodeGuide, NetBeans/Sun Java Studio Enterprise/Creator, IntelliJ IDEA, TextPad, Maven, Ant, Gel, JCreator, and Emacs
Slim Java Virtual Machine Slim is an alternative model to implementing JSP syntax. Although it is not 100% compatible with JSP, in many cases it can be used a drop in replacement
StrutsTestCase OS Independent StrutsTestCase for JUnit is an extension of the standard JUnit TestCase class that provides facilities for testing code based on the Struts framework. StrutsTestCase provides both a Mock Object approach and a Cactus approach to actually run the Struts ActionServlet, allowing you to test your Struts code with or without a running servlet engine.
TESTARE Java Virtual Machine TESTARE is a testing framework that aims to simplify the test development process for distributed enterprise JAVA applications. It provides straightforward and easy to use "in container" testing capabilities through the concept of execution scenarios. It provides native support for test environment management and introspection techniques such as fixtures,global fixtures, probes and guards.
TestGen4J All platforms, JUnit TestGen4J 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.
TestNG Java Virtual Machine TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use.
UISpec4J JUnit 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 complexity of Swing, resulting in easy to write and easy to read test scripts
XTest ANT 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. XTest framework is planed to be base for NetBeans testing

(Continued on next question...)

Other Interview Questions