Justin,
The plug-in and the RPG library require the procedure name starting with "test". Since "MyProcedureNameHere" does not start with "test", it is not accepted as a test procedure. That is the same for the plug-in as well as for the RPG runtime, e.g.:
*** Tests from ASSERTT *** (iRPGUnit v2.2.1)
Date : 2018-05-08 / 11:14:19
Job : 207893/RADDATZ/TRADDATZA1
User : RADDATZ
iRPGUnit : RADDATZ
callFailInAMonitorBlock - ERROR
Test procedure not found.
-----------------------
ERROR. 0 test case, 0 assertion, 0 failure, 1 error.
I improved the error reporting of the plug-in and I will release a new version, soon (most likely this week).
Procedure "callFailInAMonitorBlock" is exported by ASSERTT but it is not accepted because of the missing "test" prefix.
Sorry for the late reply. I was on holiday.
Thomas.
-----Ursprüngliche Nachricht-----
Von: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] Im Auftrag von Justin Taylor
Gesendet: Mittwoch, 2. Mai 2018 22:02
An: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Betreff: 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.
--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender.
As an Amazon Associate we earn from qualifying purchases.