Journal of Jilin University Science Edition ›› 2020, Vol. 58 ›› Issue (6): 1429-1435.

Previous Articles     Next Articles

Method of Generating Metamorphic Relationship Based on Gradient Descent Algorithm

MU Xiangyu1, FAN Yu1, LI Suji1,2, ZHANG Peng1, LIU Lei1   

  1. 1. College of Computer Science and Technology, Jilin University, Changchun 130012, China;
    2. Hospital of Stomatology, Jilin University, Changchun 130021, China
  • Online:2020-11-18 Published:2020-11-26

Abstract: Aiming at the problem that the construction of the current metamorphic relationship mostly depended on the tester’s knowledge in the domain of the test program, which had limitations and high cost, we proposed a method of new generating metamorphic relationship. The method combined the construction of the transformation relationship with the gradient descent algorithm, and generated the corresponding transformation relationship by analyzing the numerical relationship between a large number of test cases and their outputs. The experimental results show that the method can effectively reduce the dependence of testers on knowledge in related fields.

Key words: metamorphic testing, software testing, gradient descent algorithm

CLC Number: 

  • TP311