Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.02 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.02 KB

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