RPGUnit is a regression testing framework similar to JUnit (http://www.junit.org/). Developers use it to implement unit tests in RPG ILE, a language found mainly on the iSeries (a.k.a. AS/400) platform
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
LICENSE
README.md
pom.xml

README.md

RPGUnit

RPGUnit is an open source framework aimed at making unit testing easy for RPG developers.

It is a regression testing framework, similar to JUnit but written in RPG ILE, a procedural language mainly found on the iSeries platform.

Full documentation is available at the SourceForge Website

Installation

Instructions on how to install are available here

Quick Example

Here's an example of a basic test to show how the framework is used

h nomain

 /copy rpgunit1,testcase

d test_failure    pr
                                                            
p test_failure    b                   export                
d                 pi
 /free                                                      
  iEqual(4: 2 + 2);
 /end-free         
p                 e

Read more at http://rpgunit.sourceforge.net/tutorial.html