Yabin Wang, Zhenyu Chen, Yang Feng, B. Luo, Yijie Yang
{"title":"Using Weighted Attributes to Improve Cluster Test Selection","authors":"Yabin Wang, Zhenyu Chen, Yang Feng, B. Luo, Yijie Yang","doi":"10.1109/SERE.2012.18","DOIUrl":null,"url":null,"abstract":"Cluster Test Selection (CTS) is widely-used in observation-based testing and regression testing. CTS selects a small subset of tests to fulfill the original testing task by clustering execution profiles. In observation-based testing, CTS saves human efforts for result inspection by reducing the number of tests and finding failures as many as possible. This paper proposes a novel strategy, namely WAS (Weighted Attribute based Strategy), to improve CTS. WAS is inspired by the idea of fault localization, which ranks the program entities to find possible faulty entities. The ranking of entity is considered as a weight of attribute in WAS. And then it helps build up a more suitable distance space for CTS. As a result, a more accurate clustering is obtained to improve CTS. We conducted an experiment on three open-source programs: flex, grep and gzip. The experimental results show that WAS can outperform all existing CTS techniques in observation-based testing.","PeriodicalId":191716,"journal":{"name":"2012 IEEE Sixth International Conference on Software Security and Reliability","volume":"64 1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-06-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 IEEE Sixth International Conference on Software Security and Reliability","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SERE.2012.18","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 7
Abstract
Cluster Test Selection (CTS) is widely-used in observation-based testing and regression testing. CTS selects a small subset of tests to fulfill the original testing task by clustering execution profiles. In observation-based testing, CTS saves human efforts for result inspection by reducing the number of tests and finding failures as many as possible. This paper proposes a novel strategy, namely WAS (Weighted Attribute based Strategy), to improve CTS. WAS is inspired by the idea of fault localization, which ranks the program entities to find possible faulty entities. The ranking of entity is considered as a weight of attribute in WAS. And then it helps build up a more suitable distance space for CTS. As a result, a more accurate clustering is obtained to improve CTS. We conducted an experiment on three open-source programs: flex, grep and gzip. The experimental results show that WAS can outperform all existing CTS techniques in observation-based testing.
聚类测试选择(CTS)广泛应用于基于观测的测试和回归测试。CTS通过集群化执行概要文件选择一小部分测试来完成原始测试任务。在基于观察的测试中,CTS通过减少测试数量和尽可能多地发现故障,节省了检查结果的人力。本文提出了一种新的改进CTS的策略,即加权属性策略(Weighted Attribute based strategy)。WAS的灵感来自于故障定位的思想,它对程序实体进行排序,以发现可能存在故障的实体。在WAS中,实体的排名被认为是属性的权重。然后,它有助于建立一个更适合CTS的距离空间。从而得到更精确的聚类,从而提高CTS的性能。我们在三个开源程序上进行了实验:flex、grep和gzip。实验结果表明,在基于观测的测试中,WAS优于现有的所有CTS技术。