Justin,
I have been using RPG-UNIT for about 1-year. Still learning it...
But, you might want to check your preferences for RPG-UNIT.
I have this for my preferences:
Run order..........................: *API
Library List.......................: *CURRENT
Reclaim resources..................: *NO
Product library....................: RPGUNIT
Check Test Suite Service Program...: *NONE <-- I do not use the naming standard
Enforce new connection (Check-box is CHECKED)
Position editor to line of assertion(source must be compiled with option *SRCSTMT)
I usually put an S.E.P on my RPG-UNIT test case program. And it pops up in debug. When I check the properties on the job, I can see what job it "spawned off". In my example it did this job: Process ID 094249/QUSER/QZRCSRVS
Then I can do the WRKJOB Process ID 094249/QUSER/QZRCSRVS to look at the job-log. To see what the problem.
For me, it is usually my library list is wrong, or I am missing a program in my test environment.
Often, I discover that I have record-lock, or one our data-queues is overloaded. It is NOT monitor regularly on our test system.
I learn a lot by looking at the job log.
So, I recommend looking at the job log for a start of your issues. I often do the Green Screen RPGUNIT command: RUCALLTST. And see it works that way. And then I debug it in RDI and check why it does not run inside of RDI. For me, it is usually the setup of the library-list.
My library-list ISSUES have almost been 100% eliminated. I have my user profile use a job-description for my library-list. So, my Green Screen and RDI session use the exact same library-list! To me that is the way to do it!
Best of luck to you! See what the job log shows you...
Oh yeah, don't forget to check the error log too!
Alt+Shift+Q, and then "L"=Log
-Ken Killian-
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxx> On Behalf Of Justin Taylor
Sent: Wednesday, May 2, 2018 3:58 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?
Unfortunately, when the plugin chokes, nothing gets loaded into the RPGUnit view.
I've had these issues since I started using RPGUnit (prob 6 weeks). In that time, I've cleared my RDi cache, rebooted my PC and IPL'd. It's always the same tests that fail.
-----Original Message-----
From: Ken Killian [mailto:kkillian@xxxxxxxxxxxx]
Sent: Wednesday, May 02, 2018 12:09 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,
After I run the rpg-unit once, I can right click on a single test scenario, and say only to re-run that single test unit.
Right-Click and select: "Rerun Selected Test Case"
This help me test many bugs on an RPG-UNIT that had over 40 Test Procedures! Awesome!
By using RDI S.E.P. and refresh, I was able to work through all my bugs! This is a must have plugin, I.M.H.O.
PS. Every so often, I have to clear my cache, and restart RDI. I guess the old JVM gets hosed up. That is the fun working with Java.
Oh well, beats trying to report the issue with a PMR.
And then being told that RDI does not support plug-ins. <LOL> I just laugh a lot and restart, and my blood pressure has gone way down!
<Big Smile>
Oh yeah, eating snickers bars helps me a LOT!!!!
-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.