hi,

I was wondering how others get round the problem of multiple procedures using the same files in a service program, or using global variables.

Example :

Procedure P1 updates file F1.

Test program calls P1 then compares F1 with F1_SAVE.

Developer adds P2 to service program which also updates F1.
Test program now calls P1, then P2 then compares F1 with F1_SAVE.

How are you making sure that the tests on each procedure are completely isolated, eg, P2 does not modify the results from the test on P1?



This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.