× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.