
基本信息:
- 专利标题: 基于程序行为网络聚合的测试用例动态排序方法
- 专利标题(英):Test case dynamic sorting method based on program behavior network aggregation
- 申请号:CN201711449875.X 申请日:2017-12-27
- 公开(公告)号:CN108021509A 公开(公告)日:2018-05-11
- 发明人: 刘烃 , 池剑磊 , 贺安成 , 郑庆华 , 屈宇
- 申请人: 西安交通大学
- 申请人地址: 陕西省西安市碑林区咸宁西路28号
- 专利权人: 西安交通大学
- 当前专利权人: 西安交通大学
- 当前专利权人地址: 陕西省西安市碑林区咸宁西路28号
- 代理机构: 西安通大专利代理有限责任公司
- 代理人: 田洲
- 主分类号: G06F11/36
- IPC分类号: G06F11/36 ; G06K9/62
The invention discloses a test case dynamic sorting method based on program behavior network aggregation. The test case dynamic sorting method comprises the following steps of S1, based on a dynamic pitching pile technology, monitoring all test case executing processes for executing a to-be-tested program, and obtaining a program calling total graph TG; S2, adopting a graph editing distance measuring method to calculate the graph editing distance Dij between every two subsidiary graphs, afterwards, adopting the graph editing distances to calculate the graph similarity sigma ij, and constructing a graph similarity matrix Mi, j; S3, adopting a K-medoids clustering algorithm to divide the test cases into n clusters; S4, using a maximum-minimum distance sampling strategy to obtain the needed test case sequence T' from a clustering result cluster. By means of the test case dynamic sorting method based on the program behavior network aggregation, certain balance is achieved between the sorting performance and the time expense, the advantages of the performance and time expense can be achieved in large-scale software, and a dynamic mode is utilized to obtain test data so that the insufficiencies of a static mode can further be effectively made up for.
公开/授权文献:
- CN108021509B 基于程序行为网络聚合的测试用例动态排序方法 公开/授权日:2020-08-18