× 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 6/6/2014 9:14 AM, Aaron Price wrote:
I have just noticed that this isnt really compatible with RPGUNIT
anyway, the Coverage report seems to only show the last test case that
is run as part of the process, not the whole run. I just ran the test
cases in reverse order and got a completely different report out, and
lines that are definitely covered bu the Unit test arent shown as being
hit.

I generally run all my test cases (which is the default action for the
command): rucalltst testsrvpgm tstprc(*all) and I see proper coverage of
each test case.

Are you specifying a subset of the test cases on your rucalltst command?
I'd be interested in understanding the value proposition to this; I'm
fairly new at TDD. In any event, try this small change to your CC
configuration. For those following us, Run > Compiled Code Coverage
Configurations... Code Coverage tab. The default setting for Code
Coverage Results is to Run full coverage. If you tick the Append to the
previous result radio button, CC analysis will accumulate through
several runs.

I just tried it by running one test at a time and the first pass it
showed coverage only for the test which was executed (as expected). On
the second pass, it showed coverage for both tests (as expected).
--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.