Testing Tools, Code Generators, GUI Testing Tools, Mock Objects, Web

OpenPojo

OpenPojo is a library that enables testing and enforcing POJO's behavior, as well as runtime identity management through deep introspection.

OpenPojo uses reflection to create meta-representation for POJO classes that can then be run through the extensible & configurable validation framework. Validation helps enforce structure of code (i.e. public fields, naming convention, etc), or behavior expectations (i.e. set/get only sets and gets without altering value).

jtoc —— java test oracle creator

Jtoc is a library for writing test assertions in Java, which provides an easy way to write contracts with java's inner class. Compared with other libraries, Jtoc focuses on completely test the contracts without changing the original design of the class. It supports Unit testing, where the written JUnit tests could be used in the test-project Jtoc generated without any change.

Jtoc is created by using two open source library -- javaparser created and maintained by J. V. Gesser as the Java grammar parser, apache-commons-logging as the logger.

Mistletoe

Mistletoe is a JUnit extension intended for integration testing. In technical terms, it is a JUnit test suite runner presenting the test results via HTTP as a Web page.

Accessive

Accessive is a tool that allows you to access private field or methods for testing purposes. That means that you don't have to make some of your methods or field package protected just to allow for testing.
Accessive uses reflection and dynamic proxies to access private portion of your objects, allowing you to keep them strongly encapsulated and still be able to test their internals.

For more details visit http://code.google.com/p/accessive/.

Jailer

Jailer is a tool for database subsetting and sampling. It allows you to simply export test data for DbUnit based unit tests from production databases.

For more information visit http://jailer.sourceforge.net/

Features

  • Exports consistent and referentially intact row-sets from your productive database and imports the data into your development and test environment.
  • Generates DbUnit datasets, hierarchically structured XML and topologically sorted SQL-DML.

TwiP

"Tests with Parameters" allows you to simply add parameters to your JUnit test methods. TwiP calls such methods with all possible combinations of their parameters... or at least some reasonable subset of commonly failing values in the case of Integers, etc. You can further reduce these values with an assume expression in an annotation, e.g. ">= 0". This works for the primitive types (int, etc.), their Class wrappers (Integer, etc.), Enums and Strings.

Fast Code Eclipse Plugin

This is a free eclipse plugin designed to help write code faster in spring based applications. This also has a junit generator part. One can have different junit tests for different kind of classes. Easy way to jump to junit test and jump to alternate junit test is also provided.
Please go to project homepage http://fast-code.sourceforge.net/ for more information.

XpoLog Log Analysis for Testing

XpoLog is a log analysis platform that maps application problems in testing and production, XpoLog have integration to JUnit that helps to analyze all application generated logs during unit testing. The tool help to find more problems during testing.

Find more information on the integration here XpoLog JUnit integration

XpoLog home page http://www.xpolog.com

Infinitest for Eclipse

Infinitest, the free continuous test runner for JUnit, is now available as an Eclipse plugin. Just like the standalone version, the plugin automatically runs JUnit tests in the background as you make changes to the code. It selects tests intelligently, and only runs the ones you need. In addition to the features provided in the standalone version, the new Eclipse plugin reports test failures like compile errors, and works with multiple projects.

For more information, visit http://infinitest.org

Jitr 1.0.0 released (JUnit Integration Test Runner)

Jitr (pronounced "jitter") is a JUnit Integration Test Runner. It allows your web application integration tests to easily run against a lightweight web container in the same JVM as your tests.

More details below...

Syndicate content