摘要
提出了一种新的静态黑盒测试用例优先级(Test Case Prioritization,TCP)排序算法,在没有源代码的情况下,需要对测试用例集合按照优先级进行排序。改进原始的LDA算法,应用每个测试用例的语言数据(如,标识符名称、注释和字符串文字)和标签来预测测试用例的主题,利用期望最大化算法进行模型的参数估计。在实验部分,我们将提出的算法与现有的技术进行比较,以验证该算法的性能。
This paper presents a new static black box Test Case Prioritization (TCP) sorting algorithm. In the absence of source codes, to prioritize the collection of test cases is needed. This paper improves the original LDA algorithm, and uses the linguistic data of each test case (i.e., identifier, comments and string literals) and tags to predict topic of test case, using the expectation maximization algorithm to estimate the parameters of the model. In the experimental part, we compare the proposed algorithm with existing technologies to verify performance of the proposed algorithm.
作者
曾平红
ZENG Ping-hong(School of Electrical and Information Engineering,Hunan Institute of Traffic Engineering,Hengyang 421001,China)
出处
《佳木斯大学学报(自然科学版)》
CAS
2018年第5期693-695,753,共4页
Journal of Jiamusi University:Natural Science Edition
关键词
软件测试
测试用例优先级
排序算法
主题模型
software testing
test case prioritization
sorting algorithm
topic model