Buck is on the money.
Use the append settings that he has documented to accumulate the coverage
of all calls to a program.
Edmund (E.H.) Reinhardt
Technical Architect for Rational Developer for i
Phone: 1-905-413-3125 | Home: 1-905-854-6195 IBM
RDi YouTube: 8200 Warden Ave
www.youtube.com/user/IBMRational#g/c/62DF24D5BCD43501 Markham, ON L6G 1C7
Find me on: LinkedIn: Canada
From: Buck Calabro <kc2hiz@xxxxxxxxx>
Date: 06/06/2014 05:05 PM
Subject: Re: [WDSCI-L] RDi 9.1 Code coverage tool - Main Procedure not
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
On 6/6/2014 3:31 PM, Aaron Price wrote:
Reading your post I think I have just realised what may be happening.
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
a teardown routine in the one I am running which is closing down the
program/temporary files/overrides etc between each test run. Judging
looks like the teardown routine does execute between each test case.
This may explain why it is only showing the final run of the
it is this though as I would still expect the amalgamated results for
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.
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,
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.