• Subject: Re: Testing a program
  • From: "postmaster" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Thu, 26 Feb 98 00:05:19 +1100

//--- forwarded letter -------------------------------------------------------
> X-Mailer: Windows Eudora Pro Version 3.0 (32)
> Date: Fri, 20 Feb 98 19:50:05 -0800
> From: "Mani" <mani@bmdinc.com>
> To: Midrange-l@midrange.com
> Reply-To: MIDRANGE-L@midrange.com
> Subject: Testing a program

> Hello Everyone,
> While testing a program (RPG/CL), is there any way to ensure that all the
> lines in the program have been tested. I want to ensure that every line has
> been executed at least once. 
> I understand that there are some tools in the market that accomplish this,
> but is there any AS/400 feature to do this task?
> Thanks,
> Mani

Hello Mani,

I believe there are some 3rd-party tools which do this but if you want to 
roll-your-own I'd look at 
running trace on the program and correlating that data with the source file 
statments.  You can 
automate this with a program.

Simon Coulter.

// FlyByNight Software         AS/400 Technical Specialists
// Phone: +61 3 9419 0175      Mobile: +61 3 0411 091 400
// Fax:   +61 3 9419 0175      E-mail: shc@flybynight.com.au
// Windoze should not be open at Warp speed.

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact