Justin,
Yup, that is the same thing I get...
I can run the entire Test-Case on the Main RPGUNIT service program. And then I can debug and rerun the failing procedures. That has helped me knock out a ton of bugs!
RPGUNIT + SEP + RDI is the way to go! Oh SEP = Service-Entry-Points to pop up the program in debug, if you do NOT already know that...
-Ken Killian-
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxx> On Behalf Of Justin Taylor
Sent: Wednesday, May 2, 2018 4:02 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] "Run RPG Unit Test" prompt?
I have an Object filter in the Remote Systems view for my tests. I can right-click on an object->"Run RPGUnit Test". I tried expanding the *SRVPGM object and the *MODULE. That gives the individual procedures. "Run RPGUnit Test" is an option for the procedures, but trying it gives an error:
Error
The following objects are not a RPGUnit test suite:
- MyProcedureNameHere()
-----Original Message-----
From: Ken Killian [mailto:kkillian@xxxxxxxxxxxx]
Sent: Wednesday, May 02, 2018 12:21 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] "Run RPG Unit Test" prompt?
Justin,
I have not found a way to do that, except from Green Screen, where you can do it this way:
RUCALLTST TSTPGM(KKILLIAN/TCMobile) TSTPRC(test_mobile_comm_vehicle)
It seems to be that there "should be away" to do that. But, I have not found it. If you find a way, please let the rest of us know!
With the RPG-UNIT plugin, it "appears" to me that it can only be done after you run the entire test case... <Big Frown>
Maybe the writers of the Plugin, might do an update? <Hint Hint> And allow us to "Prompt" to run a single or several test cases.
http://www.tools400.de/rpgunit/update/rdp8.0/
-Ken Killian-
--
This is the Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.