跳到主要导航 跳到搜索 跳到主要内容

LS-sampling: An effective local search based sampling approach for achieving high t-wise coverage

  • Chuan Luo*
  • , Binqi Sun
  • , Bo Qiao
  • , Junjie Chen
  • , Hongyu Zhang
  • , Jinkun Lin
  • , Qingwei Lin
  • , Dongmei Zhang
  • *此作品的通讯作者
  • Microsoft USA
  • Tianjin University
  • University of Newcastle
  • CAS - Institute of Software

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

There has been a rapidly increasing demand for developing highly configurable software systems, which urgently calls for effective testing methods. In practice, t-wise coverage has been widely recognized as a useful metric to evaluate the quality of a test suite for testing highly configurable software systems, and achieving high t-wise coverage is important for ensuring test adequacy. However, state-of-the-art methods usually cost a fairly long time to generate large test suites for high pairwise coverage (i.e., 2-wise coverage), which would lead to ineffective and inefficient testing of highly configurable software systems. In this paper, we propose a novel local search based sampling approach dubbed LS-Sampling for achieving high t-wise coverage. Extensive experiments on a large number of public benchmarks, which are collected from real-world, highly configurable software systems, show that LS-Sampling achieves higher 2-wise and 3-wise coverage than the current state of the art. LS-Sampling is effective, since on average it achieves the 2-wise coverage of 99.64% and the 3-wise coverage of 97.87% through generating a small test suite consisting of only 100 test cases (90% smaller than the test suites generated by its state-of-the-art competitors). Furthermore, LS-Sampling is efficient, since it only requires an average execution time of less than one minute to generate a test suite with high 2-wise and 3-wise coverage.

源语言英语
主期刊名ESEC/FSE 2021 - Proceedings of the 29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering
编辑Diomidis Spinellis
出版商Association for Computing Machinery, Inc
1081-1092
页数12
ISBN(电子版)9781450385626
DOI
出版状态已出版 - 20 8月 2021
已对外发布
活动29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, ESEC/FSE 2021 - Virtual, Online, 希腊
期限: 23 8月 202128 8月 2021

出版系列

姓名ESEC/FSE 2021 - Proceedings of the 29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering

会议

会议29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, ESEC/FSE 2021
国家/地区希腊
Virtual, Online
时期23/08/2128/08/21

指纹

探究 'LS-sampling: An effective local search based sampling approach for achieving high t-wise coverage' 的科研主题。它们共同构成独一无二的指纹。

引用此