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



Javier,

I used RPG-Unit with RDi Code coverage, and that works GREAT!

I mostly use RPG-Unit for test-case/Unit-test.

The only mocking/stubbing I have done is to load some sample data from table to loop through testing.

You can soft code or hard-code your test scenarios. That is up to the developer writing the RPG-UNIT.

With the RDI plugin for i-RPG-Unit, you get visual clue when a test-case fails. Double-click it, and it takes you to the failure! Very Nice!
You have to compile your code with *SRCSTMT to position to the line of code for the "assert" Error.
https://irpgunit.sourceforge.io/assets/irpgunit_screenshot_4.png
NOTE: Failures with exclamation point in the red triangle. <thumbs up> Lower right hand corner for the view: "RPGUnit"

I do not know of any "Graphical flow" to generate test cases, I write the test-cases based on my service Programs that I utilize in production.

Yes, you have to be a RPG developer to write RPG Code for RPG-Unit.

RPG-Unit links to share...

http://rpgunit.sourceforge.net/
http://rpgunit.sourceforge.net/tutorial.html
https://irpgunit.sourceforge.io/

-Ken Killian-



-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Javier Martinez Molina
Sent: Wednesday, March 17, 2021 1:50 PM
To: wdsci-l@xxxxxxxxxxxxxxxxxx
Cc: Cristina Bellerin Motero <cristinabm@xxxxxxxxxx>
Subject: EXTERNAL: [WDSCI-L] Inquiry on some technical capabilities of RPGUnit

Hello,

I wanted to know some basic technical details about RPGUnit framework
and iRPGUnit plug-in for RDi.

* Does it allow to do integration tests, or just unit and regression
testing?
* Does it allow to do mocking/stubbing?
* Does it include any code coverage feature?
* How are errors visualized? Is there any graphical visualization?
* Are programming skills necessary to generate test cases? Or is there
any kind of "graphical flow" to generate test cases?

Thanks for your help!

Javier Martínez Molina
Associate Consultant
E-mail: [1]javier.martinez.molina@xxxxxxx
Phone: +34 618319847 (Ext. 51311)

References

Visible links
1. mailto:javier.martinez.molina@xxxxxxx
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinfo/wdsci-l__;!!JywAMcrl3w!tauy_xJNWXrGbZ1xhDcEbW2Alu8YO5Ca6RhIXL8blY9hJYVTq8O13-2uY4FcVbe2$
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.com/v3/__https://archive.midrange.com/wdsci-l__;!!JywAMcrl3w!tauy_xJNWXrGbZ1xhDcEbW2Alu8YO5Ca6RhIXL8blY9hJYVTq8O13-2uY66d8rux$ .

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://urldefense.com/v3/__https://amazon.midrange.com__;!!JywAMcrl3w!tauy_xJNWXrGbZ1xhDcEbW2Alu8YO5Ca6RhIXL8blY9hJYVTq8O13-2uY5wr8Wui$

Please Be Cautious: This email originated outside of U.S. Xpress, Variant, or Total Transportation. Do not open attachments or click links unless you recognize the sender and know the content is safe.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.