Top of which page? This link (
http://www.tools400.de/rpgunit/update/rdp8.0/) has a screenshot showing running a test in RDi and another for the actual install, but nothing about actually creating the RPGUnit tests.
Thanks
-----Original Message-----
From: Buck Calabro [mailto:kc2hiz@xxxxxxxxx]
Sent: Friday, March 02, 2018 9:36 AM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: Re: RPGUnit vs ILEUnit
On 2 March 2018 at 10:08, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:
I see installation & setup, but no usage instructions or examples. Am I just missing them?
There is a very brief example at the top of that page.
Basically, I:
Write a test like assert()
RUCRTTEST either in RDi or QCMD
This creates the test to be run
Open a source member for a service program
Write the sub-procedure code that should satisfy the test
CRTRPGMOD + CRTSRVPGM
This created the sub-procedure + service program that I will ultimately use in production
Have the service program in an object list in RDi
Right click the service program
Run the test! RDi will report Red or Green :-)
Because the test runner is also in QCMD, I could also do RURUNTEST
The spelling of the QCMD commands might be off because I rarely use them :-/
If you only want to run this in QCMD, then download the .zip file and restore library RPGUNIT.
I'm typing this from memory, so reality may vary :-)
--buck
As an Amazon Associate we earn from qualifying purchases.