jregress: open-source test-running framework

So, what is jregress?  It’s my Java-based test-running framework, used to run Open ESB regression tests, and it is now open-source.

History: at Forte we used a C++-based tool, regress, to run regression tests.  I created a Java-based work-alike that Sun uses for running regression tests.  We can run Open ESB  tests using the open-source or closed-source version.  More history at project site.

What does it do? It uses a file naming and directory structure convention to discover, run, and check-the-results-of setup, test, and tear-down scripts or programs.

How? Each test is a monitored process.  Jregress evaluates the test output, or stops the process if the test times-out.

The custom diff command ignores non-deterministic output; multiple developers can easily develop and run portable tests.

Features: Setup, test, and tear-down wrappers are shell or ant scripts, Java or scripting language programs.  Setup/tear-down scripts can start/stop processes.  Tests are independent and can use jUnit, TestNG, Selenium, etc.

Pre-reqs: “Unix” environment: Solaris, Mac OS X, Linux, Cygwin, etc.

Category: jregress

posted by Mike Wright on: September 11, 2008

Tags:

Leave a Comment

You must be logged in to post a comment.

More blog posts...

Next post: SOA Friday