|
<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 +---
As an Amazon Associate we earn from qualifying purchases.
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.