utjava : Unit Test driver for java

Download Files

Changes

  1. Initial Version

Installation

  1. Place utjava.jar in a directory d:\yourdir.
  2. Modify the classpath to include "d:\yourdir\utjava.jar"

Notes

This is a Unit Test driver for java. It searches for all .class files in a given directory tree that have a suffix of "_UTest" and invokes any methods that have a signature like "void testxxx()".

Use

The command line looks like:
   java.exe -cp \rootdir;\yourdir\utjava.jar utjava.ut rootdir
The dirtosearch is the root of the directory tree that contains the unit tests.

Typical output

Number of ut class files: 1
Number of unit tests    : 2
Number of utassert calls: 1
Number of errors        : 0
Number of exceptions    : 0
This output shows:




Contact me about content on this page using john_web-at-arrizza-dot-com
For Web Master or site problems contact: webadmin-at-arrizza-dot-com
Copyright John Arrizza (c) 2001-2010