The invention discloses a method for
software regression testing, comprising the following steps: step S102, simulating the input of the
software to be tested into a message, and sending the message to the
software to be tested through the
test platform, and Output and write
stub file; Step S104, construct query message according to the output of the software to be tested, to obtain the output result of the software to be tested by querying the query message when each test, and put in the
stub file corresponding to the output result The
record returns to the
test platform; step S106, according to the message that is simulated by the software to be tested, the
test program file is established, and the
test program file is executed, and the result after the correct execution is recorded together with the
record of the
stub file returned to the
test platform as and save the
standard result file; and step S108 , when the
test plan file is executed next time, automatically compare the current result file with the
standard result file to complete the regression test. The method of the invention is adopted for testing, so that the
processing of
pile files becomes very simple.