What is the purpose of testing a program with different data? Solution The purpose of testing a program functions according to the expectation. The overall goal of testing is to find a bug that might effect the functioning of the program. There are various types of testing and each serve their own purpose. Different data is used for each type of testing. We have to check the whether internal module is functioning properly, how the program responds to invalid data, test how changing one module will effect the whole system etc.. There are many automated tools which can be used for comprehensive testing..