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


  • Subject: Re: R: RPG Indicators
  • From: Anton Gombkötö <Gombkoetoe@xxxxxxxxxx>
  • Date: Fri, 21 Apr 2000 10:40:49 +0200

Thanks!

Well, as i tried to express, writing a testcase for "batch" functions isn't
too hard, but what about the display programs? Is there a method for testing
them automatically? I can think of a "record" mode in which entries are
stored somewhere and a "test" mode where screen input comes from a dtaq.
Then the results of the recorded run have to be somehow compared to the test
run and differences logged.

I'm now mainly interested in such a thing and so i keep on asking for
experiences and/or tricks on this sector.
--
Anton Gombkötö

-----Ursprüngliche Nachricht-----
Von: "Chris Bipes" <rpg@cross-check.com>
An: <RPG400-L@midrange.com>
Gesendet: Donnerstag, 20. April 2000 19:29
Betreff: RE: R: RPG Indicators


<snip>
Anton Gombkötö
Anybody out there with a recommendable method to create test cases,
especially for programs doing screen I/O?
</snip> =-0 to much html

We in general for debugging save the passed data to the server in a file.
We can turn on or off this capture flag with an external data area.  This
allows us to write a small program for testing to re-send a days worth of
trapped data to the server and check the responses.  We can also save live
working data today to use as test data tomorrow when we are enhancing the
functions of the server program.  This is a direction we are moving, not
there yet.

If you have a program that you are going to break into Client/Server, first
make all the edits of the screen and business logic a callable module.  You
can then separate the screen I/O from the business logic and save the parms
passed to the edit modules in a file.  Now write the server to receive the
edit parms and call the edit module.  Just remember that any work variables
used in calc can not be retained from call to call in a server environment.

Good luck and I hope this helps with your design.


Christopher K. Bipes mailto:ChrisB@Cross-Check.com
Sr. Programmer/Analyst mailto:Chris_Bipes@Yahoo.com
CrossCheck, Inc. http://www.cross-check.com
6119 State Farm Drive Phone: 707 586-0551 x 1102
Rohnert Park CA  94928 Fax: 707 586-1884

If consistency is the hobgoblin of little minds, only geniuses work here.
Karen Herbelin - Readers Digest 3/2000
Thanks again,
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.