|
Hi Thomas
When I set an SEP on SRVPGM that I am using your integrated RPGUNIT action
on, it seems to hang. This happens in both Debug or Code Coverage mode.
I can certainly send you my trivial example here. (Barbara and I are
giving a talk on TDD for COMMON and we will be featuring your RPGUNIT in
the talk. Great work, by the way).
So where do I find the setting to " Debug: Enforce new connection"
Thanks
Edmund
----- Original message -----
From: Thomas Raddatz <thomas.raddatz@xxxxxx>
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Cc:
Subject: Re: [WDSCI-L] "Run RPG Unit Test" prompt?
Date: Tue, May 8, 2018 5:29 AM
Justin,
I do not have our emails at my hands, because I am in the office.
Therefore I do not know how we ended up. Did we end up that it is
impossible to create a tiny test service program that I can call to
debug the problem? Otherwise I would love to debug the problem.
I assume that you could not debug it using a SEP, right? But did you use
a second workspace for setting the SEP or did you check option "Debug:
Enforce new connection"? What was the problem that you could not debug
it.
You need to start RDi with a different workspace when using SEPs for
debugging RPGUnit _or_ you need to check option "Debug: Enforce new
connection".
Thomas.
-----Urspr**ngliche Nachricht-----
Von: WDSCI-L [[1]mailto:wdsci-l-bounces@xxxxxxxxxxxx] Im Auftrag von
Justin Taylor
Gesendet: Mittwoch, 2. Mai 2018 22:46
An: Rational Developer for IBM i / Websphere Development Studio Client
for System i & iSeries
Betreff: Re: [WDSCI-L] "Run RPG Unit Test" prompt?
I've already worked with the plugin dev, and he gave up on finding a
fix. I'm just trying to work around it.
I decided to check the jobname at the start of the test, and if it's
running from RDI just have the troublesome test fail right off the bat.
I still can't do that test in RDi, but I can run the others within the
*SRVPGM.
Thanks
-----Original Message-----
From: Ken Killian [[2]mailto:kkillian@xxxxxxxxxxxx]
Sent: Wednesday, May 02, 2018 3:20 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 been using RPG-UNIT for about 1-year. Still learning it...
But, you might want to check your preferences for RPG-UNIT.
I have this for my preferences:
Run order..........................: *API Library
List.......................: *CURRENT Reclaim
resources..................: *NO Product library....................:
RPGUNIT
Check Test Suite Service Program...: *NONE <-- I do not use the naming
standard
Enforce new connection (Check-box is CHECKED) Position editor to line of
assertion(source must be compiled with option *SRCSTMT)
I usually put an S.E.P on my RPG-UNIT test case program. And it pops up
in debug. When I check the properties on the job, I can see what job it
"spawned off". In my example it did this job: Process ID
094249/QUSER/QZRCSRVS
Then I can do the WRKJOB Process ID 094249/QUSER/QZRCSRVS to look at the
job-log. To see what the problem.
For me, it is usually my library list is wrong, or I am missing a
program in my test environment.
Often, I discover that I have record-lock, or one our data-queues is
overloaded. It is NOT monitor regularly on our test system.
I learn a lot by looking at the job log.
So, I recommend looking at the job log for a start of your issues. I
often do the Green Screen RPGUNIT command: RUCALLTST. And see it works
that way. And then I debug it in RDI and check why it does not run
inside of RDI. For me, it is usually the setup of the library-list.
My library-list ISSUES have almost been 100% eliminated. I have my user
profile use a job-description for my library-list. So, my Green Screen
and RDI session use the exact same library-list! To me that is the way
to do it!
Best of luck to you! See what the job log shows you...
Oh yeah, don't forget to check the error log too!
Alt+Shift+Q, and then "L"=Log
-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:
[3]https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=MCpcrqgdirYvrqWILxdcNCwGQxIB47vLwRvlWh7IV-A&s=PLIbyUwuAao-b4Tg-pgcZgIPMZX6tJ9R04R_3nH9lkg&e=
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
[4]https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=MCpcrqgdirYvrqWILxdcNCwGQxIB47vLwRvlWh7IV-A&s=CYeoYkZjkJoGzYA9rIa_xo8-HCRbEdveXisUFikrtgI&e=.
--
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.
--
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:
[5]https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=MCpcrqgdirYvrqWILxdcNCwGQxIB47vLwRvlWh7IV-A&s=PLIbyUwuAao-b4Tg-pgcZgIPMZX6tJ9R04R_3nH9lkg&e=
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
[6]https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=MCpcrqgdirYvrqWILxdcNCwGQxIB47vLwRvlWh7IV-A&s=CYeoYkZjkJoGzYA9rIa_xo8-HCRbEdveXisUFikrtgI&e=.
References
Visible links
1. mailto:wdsci-l-bounces@xxxxxxxxxxxx
2. mailto:kkillian@xxxxxxxxxxxx
3. https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=MCpcrqgdirYvrqWILxdcNCwGQxIB47vLwRvlWh7IV-A&s=PLIbyUwuAao-b4Tg-pgcZgIPMZX6tJ9R04R_3nH9lkg&e=
4. https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=MCpcrqgdirYvrqWILxdcNCwGQxIB47vLwRvlWh7IV-A&s=CYeoYkZjkJoGzYA9rIa_xo8-HCRbEdveXisUFikrtgI&e=
5. https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=MCpcrqgdirYvrqWILxdcNCwGQxIB47vLwRvlWh7IV-A&s=PLIbyUwuAao-b4Tg-pgcZgIPMZX6tJ9R04R_3nH9lkg&e=
6. https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=xVh0JOaBkAaa2_VJvF7mVrroZMIB4ornEW2uKL1r-oM&m=MCpcrqgdirYvrqWILxdcNCwGQxIB47vLwRvlWh7IV-A&s=CYeoYkZjkJoGzYA9rIa_xo8-HCRbEdveXisUFikrtgI&e=
As an Amazon Associate we earn from qualifying purchases.
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.