Thank you very much Ken, all this information is really useful for me.
Best regards,
Javier Martínez Molina
Associate Consultant
E-mail: [1]javier.martinez.molina@xxxxxxx
Phone: +34 618319847 (Ext. 51311)
----- Original message -----
From: Ken Killian <kkillian@xxxxxxxxxxxx>
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
To: Rational Developer for IBM i <wdsci-l@xxxxxxxxxxxxxxxxxx>
Cc: Cristina Bellerin Motero <cristinabm@xxxxxxxxxx>
Subject: [EXTERNAL] Re: [WDSCI-L] EXTERNAL: Inquiry on some technical
capabilities of RPGUnit
Date: Wed, Mar 17, 2021 9:50 PM
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.
[2]
https://urldefense.proofpoint.com/v2/url?u=https-3A__irpgunit.sourceforge.io_assets_irpgunit-5Fscreenshot-5F4.png&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=zU5_3Ir_ZAf69rjJPO_m63oUMIUEjiWagrJ_EUo3b0w&e= ;
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...
[3]
https://urldefense.proofpoint.com/v2/url?u=http-3A__rpgunit.sourceforge.net_&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=1ez_qfYqd49NnXmgU-E1mbOjbhPSGLR7gLKt3iwLxkk&e= ;
[4]
https://urldefense.proofpoint.com/v2/url?u=http-3A__rpgunit.sourceforge.net_tutorial.html&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=xtxRlXvJw3jcKTCHM-IKjr2Fjq7xw3WH2_pp2pj4AqY&e= ;
[5]
https://urldefense.proofpoint.com/v2/url?u=https-3A__irpgunit.sourceforge.io_&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=MVRcuxOeB-g3rjGoRiA23jxJFzUX-YMK3C8o12hvjTo&e= ;
-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. [6]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:
[7]
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
[8]
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:
[9]
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.
--
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:
[10]
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=C8n3CmYk_2t8X5JF2q7cuP3I-pVoWkym7IjFqId2SwE&e= ;
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
[11]
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=SIHKYlU1Z4x7ATKoh0FQdmGGRZZG2vBQcJStwWHARfk&e= ;.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
[12]
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=hLxy-PgP53LXzUZ7PFBCNlEaFwTTz60fv03Lsm8lte8&e= ;
References
Visible links
1. mailto:javier.martinez.molina@xxxxxxx
2.
https://urldefense.proofpoint.com/v2/url?u=https-3A__irpgunit.sourceforge.io_assets_irpgunit-5Fscreenshot-5F4.png&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=zU5_3Ir_ZAf69rjJPO_m63oUMIUEjiWagrJ_EUo3b0w&e=
3.
https://urldefense.proofpoint.com/v2/url?u=http-3A__rpgunit.sourceforge.net_&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=1ez_qfYqd49NnXmgU-E1mbOjbhPSGLR7gLKt3iwLxkk&e=
4.
https://urldefense.proofpoint.com/v2/url?u=http-3A__rpgunit.sourceforge.net_tutorial.html&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=xtxRlXvJw3jcKTCHM-IKjr2Fjq7xw3WH2_pp2pj4AqY&e=
5.
https://urldefense.proofpoint.com/v2/url?u=https-3A__irpgunit.sourceforge.io_&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=MVRcuxOeB-g3rjGoRiA23jxJFzUX-YMK3C8o12hvjTo&e=
6. mailto:javier.martinez.molina@xxxxxxx
7.
https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinfo/wdsci-l__;!!JywAMcrl3w!tauy_xJNWXrGbZ1xhDcEbW2Alu8YO5Ca6RhIXL8blY9hJYVTq8O13-2uY4FcVbe2$
8.
https://urldefense.com/v3/__https://archive.midrange.com/wdsci-l__;!!JywAMcrl3w!tauy_xJNWXrGbZ1xhDcEbW2Alu8YO5Ca6RhIXL8blY9hJYVTq8O13-2uY66d8rux$
9.
https://urldefense.com/v3/__https://amazon.midrange.com__;!!JywAMcrl3w!tauy_xJNWXrGbZ1xhDcEbW2Alu8YO5Ca6RhIXL8blY9hJYVTq8O13-2uY5wr8Wui$
10.
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=C8n3CmYk_2t8X5JF2q7cuP3I-pVoWkym7IjFqId2SwE&e=
11.
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=SIHKYlU1Z4x7ATKoh0FQdmGGRZZG2vBQcJStwWHARfk&e=
12.
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=57Mgb703L6BNqH6-5rhghXdHHiIlo9GxFUyjZqPgFJ4&m=Wp9ddxMK1pU1p9mjCsWFPEvjWDKQksIr4RQWtBx3kUI&s=hLxy-PgP53LXzUZ7PFBCNlEaFwTTz60fv03Lsm8lte8&e=
As an Amazon Associate we earn from qualifying purchases.