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



Sam,

When using RPG-Unit, I only use Service Programs. RPG-Unit has to be a service Program.

But, I am calling an punch-card program convert to **FREE, which also has been updated to use service programs. My program got 100% Coverage. But, the Service program only about 11% coverage. since I am not using everything in the other service program.

RDI & iRPGUnit go together PERFECTLY! <Joy Joy> along with Code Coverage.



-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Sam Byrd
Sent: Thursday, March 5, 2020 1:02 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] iRPGUnit and Code Coverage

Ken,

Sounds like the same versions and steps I'm taking. Are the objects your testing service programs or standard RPG programs?

Sam

On Thu, Mar 5, 2020 at 10:32 AM Ken Killian <kkillian@xxxxxxxxxxxx> wrote:

Sam,

We use RPG-Unit & Code-Coverage, and have for a long time. It worked
fine for me...

I am using RDi 9.6.0.7 & iRpgUnit 3.0.1.r

I toggle to Cover-Coverage in my S.E.P. view, and works like a charm.

Now, I make sure the RPG-Unit works first.

By default on our development box, we always compile with all debug
information.

I usually always do a refresh on my S.E.P., because I get some many
interruptions through the day. By habit, I always refresh my S.E.P.
before doing debug or code coverage.

PS. Maybe restart RDI, and recompile all and try again?

Normally, I don't have to restart, but a restart of RDI only take my
PC about 10-seconds.

-Ken Killian

-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Sam
Byrd
Sent: Thursday, March 5, 2020 11:12 AM
To: wdsci-l@xxxxxxxxxxxxxxxxxx
Subject: [WDSCI-L] iRPGUnit and Code Coverage

We're having a problem using RDI 9.6 / RPGUnit 3.x and the iRPGUnit
plugin to obtain code coverage results.

Basically, I create SEPs on all of my service programs

(test suite as well as the business logic itself), I have it set to be
in code coverage mode. On the iRPGUnit tab I'm in debug mode).

When I right click on my test suite service program and ask it to run
it using RPGUnit it runs, but no code coverage data is captured. If
instead of code coverage mode I pick debug mode it's also not breaking.

Everything (and that includes the RPGUnit pieces) has been recompiled
to include debug information.

Anyone have any ideas?

Sam
--
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@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change
list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
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@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
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@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/wdsci-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

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.