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



On 5/29/2014 9:44 AM, Jeff Young wrote:
I am playing with RDi 9.1 (based on the time it took to get the license key
for 9.0, it will be 3 - 6 months to get the RDi 9.1 license) and noticed
the item for Code Coverage.

Can someone point me to documentation on how / when to use this and what
the output will show?

There isn't much documentation yet. Edmund wrote that there's a
document in the works. For the moment, try this:

1) Create a filter for your *PGM objects
2) Right click one and select Code Coverage
3) The Code Coverage tool will create a Code Coverage configuration for
that program and do a SBMJOB to execute the code. When the program
finishes running, a Code Coverage Report view will open.

The key limitation here is that code coverage will only work for batch
programs - if the RPG program needs to display a screen, it will fall
over when it is submitted to batch.

If you're familiar with the way Eclipse debugs Java code, you'll find
this very similar.
--buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.