Software testing method facing to software upgrading

Zhang Jie,Chen Junjie,Hao Dan,Xiong Yingfei,Xie Bing,Mei Hong
2015-01-01
Abstract:The invention discloses a software testing method facing to software upgrading. The method is automatically constructed on the basis of the metamorphic relation of equation description. Before software upgrading, a tester can construct the metamorphic relation of each procedure at the aim of a conventional software; the procedure refers to a procedure code for achieving a special function calculating function; after software upgrading, at the aim of a modified procedure, the tester can produce n random numbers as use cases for testing within a certain range, then substituting each case for testing and corresponding output of the case in the modified procedure into a metamorphic relation expression of the procedure before modification, and checking whether the metamorphic relation expression is tenable or not, and if the modified procedure is not conform to the metamorphic relation constructed before, errors on the software exist during the updating process. Through the method provided by the invention, the tester can apply the metamorphic relation constructed into a metamorphosis process, therefore, the correctness of the software during the version upgrading process can be verified.
What problem does this paper attempt to address?