首页> 外文会议>Euromicro Conference on Software Engineering and Advanced Applications >A Comparative Study of Vectorization-Based Static Test Case Prioritization Methods
【24h】

A Comparative Study of Vectorization-Based Static Test Case Prioritization Methods

机译:基于矢量化的静态测试用例优先级排序方法的比较研究

获取原文

摘要

To enhance the efficiency of software testing, researchers have studied various test case prioritization (TCP) methods. A topic model-based TCP is one of the promising methods, which expresses test cases by topic vectors and prioritizes them in the order such that the set of already-prioritized test cases have the maximum dispersion in the vector space. However, the topic model is not the only option available for vectorizing test cases. Moreover, the distance metric in the vector space and the scheme to prioritize test cases (the way to find the test case that is the farthest from the set of already-prioritized ones) also have some available options. Because the combinations of the above options have not been well-discussed in the past, this paper conducts a comparative study of 36 TCP methods, which are the combinations of (1) three vectorization methods, (2) three distance metrics, and (3) four prioritization schemes (36=3x3x4). The empirical results show the following findings. The choice of the vectorization method has a significant impact on the testing efficiency: a promising option is Doc2Vec (PVDBoW). The combination with the distance metric may also be impactful: a useful combination is Doc2Vec (PV-DBoW) and Euclidean distance. The third aspect, i.e., the choice of the scheme to find the farthest test case, is not always influential.
机译:为了提高软件测试的效率,研究人员研究了各种测试用例优先级排序(TCP)方法。基于主题模型的TCP是一种有前途的方法,它通过主题向量表示测试用例,并按优先级对它们进行优先排序,以使已优先化的测试用例集在向量空间中具有最大的分散度。但是,主题模型不是用于向量化测试用例的唯一选项。此外,向量空间中的距离度量和对测试用例进行优先级排序的方案(找到距已优先级的测试用例集最远的测试用例的方式)也有一些可用的选项。由于过去没有很好地讨论上述选项的组合,因此本文对36种TCP方法进行了比较研究,它们是(1)三种向量化方法,(2)三种距离度量和(3)的组合。 )四个优先级分配方案(36 = 3x3x4)。实证结果表明以下发现。向量化方法的选择对测试效率有重大影响:Doc2Vec(PVDBoW)是一个有前途的选择。距离度量的组合也可能会产生影响:有用的组合是Doc2Vec(PV-DBoW)和欧几里得距离。第三方面,即寻找最远的测试用例的方案的选择并不总是有影响的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号