iRPGUnit - Unit Tests for i

iRPGUnit Plug-in

Hi, this is the home of the iRPGUnit plug-in for IBM Rational Developer for i.

Version: 4.0.3.r

Introduction

iRPGUnit is an open source plug-in for IBM Rational Developer for i. It enables you to develop and execute repeatable unit tests for RPG programs and service programs. The current version is 4.0.3.r.

The iRPGUnit plug-in uses a fork of the RPGUnit library, which was started by Lacton back in September 2006. The enhanced library adds an interface that enables RPGUnit to pass test results to the IBM Rational Developer for i. The development of the library as well as the plug-in was started by Mihael Schmidt at RPG Next Gen and is continued by the current developers.

iRPGUnit uses test suites to group test cases. A test case is a method that starts with 'test' and that is hosted and exported by a RPG module. A test suite is a service program that consists of one or more modules that exports test cases. Typically there is a one to one relation between the test suite service program and the module that contains the test cases.

iRPGUnit features are driven from our ideas and needs, but everybody is encouraged to contribute suggestions and manpower to improve the power of iRPGUnit.

Notice: Starting with version 3.0 iRPGUnit requires IBM i OS 7.1!

Notice: It is important to know that starting with v3.0.0 source member TESTCASE has been moved from source file RPGUNIT1 to source file QINCLUDE. Currently iRPGUnit is shipped with a proxy member in file RPGUNIT1 to ensure backward compatibility at compile time. This proxy member will be removed after 31.12.2019 with a later version of iRPGUnit.

The iRPGUnit Project Team


Tools/400, Thomas Raddatz

Features

Click to enlarge:
     
Run a unit test suite from the Remote Systems view.  Display the result spooled file of a unit test with a mouse click.  Open a failed test statement with a mouse click.  Command log of a unit test with errors.

Installation

The easiest way to install the iRPGUnit plug-in is using Eclipse Marketplace. Search for iRPGUnit:

Eclipse Marketplace

But you can also use the official update site at SourceForge:

IBM Rational Developer for i - RDi 9.5.1.3+
Last but not least you can download the local update site as a zip file and install iRPGUnit from there:

SourceForge Files
Refer to the iRPGUnit help page for detailed installation instructions.

The iRPGUnit beta version is available here:

IBM Rational Developer for i - RDi 9.5.1.3+

SourceForge Files

Refer to the iRPGUnit help (beta version) page for detailed installation instructions.

Help

Visit the iRPGUnit help page.
Ask your questions at the WDSCI-L mailing list at midrange.com.
For bug reports open a ticket at the iRPGUnit bug tracker.

Trademarks

The following terms are trademarks of the IBM Corporation in the United States or other countries or both: