× 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.



What utility did you use to create the service program? Did you create it by hand?

The iRPGUnit plug-in provides 2 mechanisms for checking a service program to be a unit test suite.

By default it looks a the text description of the service program and checks whether it starts with "RPGUNIT" ignoring the case of the letters.

The second option is check whether the user defined attribute of the service program is set to "RPGUNIT".

So if you created the service program by hand, most likely non of these tests will succeed.

If you like you can disable the test on the iRPGUnit preference page. Just set option "Check test suite service program" to "*NONE".

From the iRPGUnit help text:

"Check test suite service program
Specifies whether or not to validate the test suite service program.

The possible values are:

*NONE : Service programs are not validated when selected for execution.
*TEXT : The object description of the selected service program must start with 'RPGUnit' (case insensitive).
*ATTRIBUTE : The user defined attribute of the service program is checked for 'RPGUnit' (case insensitive). That is the preferred option, but does not work for all RDi versions. See APAR SE55976 for details.

The user defined attribute of the test suite service program is automatically set to 'RPGUNIT', when the service program is created by RUCRTTST. "

- Thomas.

-----Ursprüngliche Nachricht-----
Von: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im Auftrag von Justin Taylor
Gesendet: Donnerstag, 8. März 2018 18:30
An: RPG programming on the IBM i (AS/400 and iSeries)
Betreff: RE: RPGUnit vs ILEUnit

I've created an RPGUnit test and it runs from 5250, but in RDi I get:
The following objects are not a RPGUnit test suite:
- MYLIB/MYTEST (*SRVPGM)

I checked the Error Log view, but it has nothing.


Any suggestions?


-----Original Message-----
From: Justin Taylor
Sent: Monday, March 05, 2018 7:53 AM
To: 'RPG programming on the IBM i (AS/400 and iSeries)' <rpg400-l@xxxxxxxxxxxx>
Subject: RE: RPGUnit vs ILEUnit

Thanks. I'll check it out.



-----Original Message-----
From: Tools/400 [mailto:thomas.raddatz@xxxxxxxxxxx]
Sent: Friday, March 02, 2018 1:58 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: RPGUnit vs ILEUnit

I added a link to a iRPGUnit help zip file that you can download from the iRPGUnit update site.

http://www.tools400.de/rpgunit/update/rdp8.0/downloads/iRPGUnit_Help.zip

The zip file contains the html help that is shipped with the plug-in.

Hope that helps.

Thomas.

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD
--
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.

This thread ...

Follow-Ups:

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.