Activity for RPGUnit

  • Thomas Raddatz Thomas Raddatz modified a comment on discussion Open Discussion

    RPGUnit is not designed for UI testing. I cannot control your screens. The purpose of RPGUnit is unit testing which means that you can test exported procedures of modules or service programs. So if your UI programs call procedures of service programs, you can test these procedures. But not the UI. Sorry for the very late reply. I do not monitor the Sourceforge project any longer and I noticed Juan's posting by accident. The new home of iRPGUnit is GitHub. Please post issues or questions there: h...

  • Thomas Raddatz Thomas Raddatz posted a comment on discussion Open Discussion

    RPGUnit is not designed for UI testing. I cannot control your screens. The purpose of RPGUnit is unit testing which means that you can test exported procedures of modules or service programs. So if your UI programs call procedures of service programs, you can test these procedures. But not the UI.

  • Juan C Mendoza Juan C Mendoza posted a comment on discussion Open Discussion

    Hi Zheng Xiaohui, 1st: Create a test module in the way the tutorial do 2nd: Add to the module a procedure that calls to your interactive program 3rd: Your program have to let the result you want to test in a shared object like a data area 4th: Access the data in this shared object from the test module and use it in an {assert, iEqual, etc} command. Hope this is isefull for you,

  • zheng xiaohui zheng xiaohui posted a comment on discussion Open Discussion

    I really want to know how to use RPGUnit to test a program with screens (DSPF), and how to write test cases. I have read many discussions, but there are no relevant questions. I have a set of simple screen program files here, but when writing test cases, I don't know how to associate them with the DSPF. I feel very confused.

  • Muthu Subramanian Muthu Subramanian posted a comment on discussion Help

    Hi Thomas Managed to resolve that issue as well. Addded the necessary libraries for remote system connection in Rdi using properties -> Subsystems -> Objects ->Library List. Will explore further and get back to you if I encounter any further issues. Once again, thanks a lot for all your prompt advises.

  • Thomas Raddatz Thomas Raddatz posted a comment on discussion Help

    Hi Muthu, I suggest to either set a SEP and check the library list with the debugger or create a simple test case that runs the following command to print the library list: runCmd( 'DSPJOB JOB(*) OUTPUT(*PRINT) OPTION(*LIBL)' ); When you want to debug the library list with a SEP, you must enable option "Enforce new connection" on the iRPGUnit preference page. With option "Library list" set to *CURRENT, iRPGUnit does not change the library list at all. It just uses the library list of your remote...

  • Muthu Subramanian Muthu Subramanian posted a comment on discussion Help

    Hi Thomas, Thanks for your inputs. Managed to compile and run RpgUnit Test from RDi for SUMBYCUSTT. I still encounter issues related to library list. I have the library in my library list, but encountering error as 'Error message CPF4101 appeared during OPEN for file. etc., My setting in preference is Library list CURRENT . Product Library as LIBL. Please let me know any tips to resolve these errors.

  • Thomas Raddatz Thomas Raddatz posted a comment on discussion Help

    Hi Muthu, Please use A_INSTALL to compile the RPGUNIT library. I updated upload_savf.bat to correctly refer to "A_INSTALL" instead of "MKRPGUNIT". Sorry for the mess. Thomas.

  • Muthu Subramanian Muthu Subramanian posted a comment on discussion Help

    Hi Thomas Thanks for your reply. Restored RPGUNIT Savf from iRPGUunit for RDi 8.0+ (v2.2.2.r Update Site). There is no MKRPGUNIT member in RPGUNIT1 in order to compile the framework. Restored everything from this save file except RPGUNIT JOBD . Please advise how to compile the framework and to proceed further to complete the installation. Thanks Muthu

  • Thomas Raddatz Thomas Raddatz posted a comment on discussion Help

    Hi Muthu, I just noticed, that you most likely use the wrong RPGUnit library with the plug-in. The plug-in does not work with the original RPGUnit library. You need to use the iRPGUnit library, which is also available at SourceForge. I kept the plug-in and my RPGUnit enhancements private for me and my colleagues with its start back in 2013, because I felt it was wrong to share my fork of RPGUnit with the public. But this year I changed my mind, because I think that there must be a plug-in for RDi....

  • Thomas Raddatz Thomas Raddatz posted a comment on discussion Help

    You may also try to set parameter "Library list" of the iRPGUnit preference page to *CURRENT to use the current library list for locating program RUPGMRMT.

  • Thomas Raddatz Thomas Raddatz posted a comment on discussion Help

    Hi Muthu, Please post a screenshot of your RPGUnit preference page. If you specified "*JOBD" for parameter "Library list" and "*DFT" for parameter "Job description", then you should also check the value of parameter "INLLIBL" job description "RPGUNIT". I assume that your preferences indicate to use job description RPGUNIT or another named job description for setting the library list. Hence the current setting of the library list would not matter. Refere to chapter "Preferences" of the iRPGUnit help...

  • Muthu Subramanian Muthu Subramanian posted a comment on discussion Help

    Hi Mr.Thomas I'm encountering following error when I run RPUnit from Rdi for i V9.5 . Apperciate if you could provide your comments to investigate further. From iseries, green screen the program runs fine. Run unit test : Can not execute unit test RPGUNIT/SUMBYCUST due to missing unit test runner: LIBL/RUPGMRMT.PRM . Please ensure that library LIBL is in the library list (Please note that command logs shows that RPGUNIT addded to library list) Thanks in advance Muthu

  • Mihael Schmidt Mihael Schmidt posted a comment on discussion Open Discussion

    Hi, I think this project is not active any more. There has been some forks on github but even these have no further commits than the code here on Sourceforge.net. ILEUnit has some enhancements but won't cover your request at the moment. I think a good way to test and report would be to let the tests be run from a build and test server like Jenkins. Jenkins could send reports per mail. I tried this approach with limited success, see http://wiki.rpgnextgen.com/doku.php?id=ibm_i_and_continuous_integration...

  • Jean-Marc Jalbert Jean-Marc Jalbert posted a comment on discussion Open Discussion

    Hi Like the product. As anyone made or can suggest how to report the run results ? A big run on many procedures or even a run over many service programs can generate a lot of spool files and it can become hard to manage or pinpoint what actually did not work. Thanks Nice tool!

  • Thomas Raddatz Thomas Raddatz posted a comment on discussion Help

    May you please create a simple RPGUnit test service program, save it to a save file and send it to me to reproduce the problem? We are on 7.2.

  • Muthu Subramanian Muthu Subramanian posted a comment on discussion Help

    I set *NONE for Check test suite service program . I point to the procedure in RDi window , right click and select Run RPGUnit Test. Still get the same message.

  • Thomas Raddatz Thomas Raddatz posted a comment on discussion Help

    RPGUnit checks the 50-character text description or the user defined attribute of the service program to determine whether or not it is a test suite. Please go to the RPGUnit preferences to select the correct test or disable it at all. How did you start the RPGUnit test from RDi? Did you use the RPGUnit menu option or did you create your own option?

  • Muthu Subramanian Muthu Subramanian posted a comment on discussion Help

    HI, I have recently installed RPGUnit in our iSeries box and its working fine in iSeries. I also tried installing plugins for Rational developer(V9.5). But, consistently getting a message as "The following objects are not a RPGUnit test suite." I tried by changing all the three parameters - NONE, TEXT, *ATTRIBUTE for Check test suite service program under preferences. But still getting same message. Appreciate if you could provide some hints to resolve this issue. Thanks

  • Craig Duncan Craig Duncan posted a comment on ticket #4

    Great stuff, I've opened some pull requests there to tidy it up a bit.

  • cyril clemenceau cyril clemenceau posted a comment on ticket #3

    https://github.com/takshil/RPGUnit.git

  • lacton lacton posted a comment on ticket #3

    Moving to github seems a good idea. :)

  • cyril clemenceau cyril clemenceau modified ticket #4

    clone on github

  • cyril clemenceau cyril clemenceau created ticket #4

    clone on github

  • Thomas Raddatz Thomas Raddatz posted a comment on ticket #3

    I am happy that this project is not dead,because honestly I am not very happy about...

  • cyril clemenceau cyril clemenceau posted a comment on ticket #3

    I will duplicate this project on github. Source code will be on github and sourc...

  • Aaron Bartell Aaron Bartell posted a comment on ticket #3

    I think what we are seeing here is the necessity that the IBM i community start adopting...

  • cyril clemenceau cyril clemenceau posted a comment on ticket #3

    Hi, this project is not dead. I'm working on a new version. But it take many time...

  • Thomas Raddatz Thomas Raddatz posted a comment on ticket #3

    Aaron, I am afraid that this project is as dead as it could be. But you may consider...

  • Aaron Bartell Aaron Bartell posted a comment on ticket #3

    Is RPGUnit moving forward still? Did the ILEUnit changes get implemented into RP...

1