|
Loyd, Just a quick one this time from me. We have many customers who use our Automated tools - including extracting data for testing, as well as automating the Unit,System and End User testing. Without going into a long advertising monologue e-mail - please respond off-list if you would like me to expand on how we can assist you. For instance we can track passed parameters and identify what database rules could cause a program to blow up without endangering live data. I look forward to hearing from you. Regards Jamie Coles Original Software. jcoles@origsoft.com ----- Original Message ----- From: "Loyd Goodbar" <loyd@blackrobes.net> To: <midrange-l@midrange.com> Sent: Tuesday, April 02, 2002 2:42 AM Subject: Testing I'm in the middle of reading _The Pragmatic Programmer_ (Andrew Hunt and David Thomas; Addison-Wesley 2000) and came across the testing section of the book ("Code That's Easy to Test"). The argument is, module/unit testing should be a built-in, selectable/runnable part of the application. This is true in the Perl world; the make process typically runs a make test to ensure Perl modules do what they think they're supposed to do. My question is, what kind of testing is built into our applications? I've been working on an in-house tools service program, and I have a rudimentary test script (call a subprocedure, compare its results to those expected) outside of the service program. After reading the relevant section in Pragmatic Programmer, I'm going to try creating a test subprocedure that exercises the entire service program. In the RPG/CL world, what are you doing to make a test suite for your programs? Is there a daily build? The traditional approach is to have a "test environment", but does it truly duplicate the production environment? Does the test environment have invalid data (I think it should), or is it just a mirror of the production environment? When programs blow up in production, how do we test the programs without endangering live data (assuming blowing up didn't cause it in the first place)? I'm not trying to flame, but am interested in the testing procedures in use for traditional RPG/ILE/CL programming. Loyd -- "Why, you can even hear yourself think." --Hobbes "This is making me nervous. Let's go in." --Calvin loyd@blackrobes.net ICQ#504581 http://www.blackrobes.net/ _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.