I have two programs Pgm A and Pgm B. Basically Pgm A has to call Pgm B. Pgm A is to be coded and Pgm B is finished. Pgm A passes a parameter which has the length of 300 to Pgm B. Now I have to test Pgm B.
How can I test the prgm ?
I followed one way.. I coded a sample Pgm A in which im calling Pgm B and I am passing the parameters manually. Is there any way of testing the prgm B more efficiently ?
Joined: 06 Jun 2008 Posts: 8212 Location: Dubuque, Iowa, USA
I would write a small driver program A that reads a file of parameter records (each 300 bytes long) and calls B with each parameter record. You can then perform multiple tests in one execution of this driver program and document the expected results of each parameter record to know if B passed the test or not.