On 6/6/2014 3:31 PM, Aaron Price wrote:
Buck,
Reading your post I think I have just realised what may be happening. Do
you have a teardown routine in the test you are running?

No, no teardowns for me. I haven't had to deal with variable overrides
/ library lists / temporary files being dynamically swapped between tests.

I am 99% sure (I have no AS400 access till Monday to check) that there is
a teardown routine in the one I am running which is closing down the
program/temporary files/overrides etc between each test run. Judging by
this, http://rpgunit.sourceforge.net/cookbook.html#tear-down-close-all it
looks like the teardown routine does execute between each test case.
This may explain why it is only showing the final run of the program... if
it is this though as I would still expect the amalgamated results for the
entire batch job to be shown, sounds like a bug in RDi

That's a great thought! I don't have any existing tests with a teardown
so I added a teardown to one of my simple suites; all it has is a dsply
so there's something that executes. I now see the same thing as you -
only one of the procedures shows coverage.

When I changed to .Append to previous run. I see coverage for all the
procedures. Give it a try.
--buck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.