首页    期刊浏览 2024年12月02日 星期一
登录注册

文章基本信息

  • 标题:Optimizing Test Case Execution Schedule using Classifiers
  • 本地全文:下载
  • 作者:Chen, Xiang ; Tan, Zhaofei ; Xia, Jian
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2014
  • 卷号:9
  • 期号:10
  • 页码:2514-2521
  • DOI:10.4304/jsw.9.10.2514-2521
  • 语种:English
  • 出版社:Academy Publisher
  • 摘要:As software evolves, test suite continually grows larger. However running all the test cases in the test suite is prohibitive in most cases. To reduce the cost of regression testing, we can optimize test case execution schedule to maximize the early fault detection rate of the original test suite. Different from previous research, we use classification algorithms to guide the schedule process based on code change information and running result analysis. In particular, we firstly train a classifier for each test case using both the code change information and the running result in previous versions. Then we secondly use the trained classifier to estimate the fault detection probability of the test case in a new version. Finally we generate a test case execution schedule report based on the fault detection probability of all the test cases. To verify the effectiveness of our approach, we performed an empirical study on Siemens Suite, which includes 7 real programs written by C programming language, and chose some typical classification algorithms, such as decision tree classifier, Bayes classifier, or nearest neighbor classifier. Based on the final result, we find that in most cases, our approach can outperform a random approach and then further provide a guideline for achieving cost-effective test case execution schedule when using our approach.
  • 关键词:software testing;regression testing;test case execution schedule;classification algorithm;empirical study
国家哲学社会科学文献中心版权所有