论文标题

T-Wise的存在条件覆盖范围和可配置系统的采样

T-Wise Presence Condition Coverage and Sampling for Configurable Systems

论文作者

Krieter, Sebastian, Thüm, Thomas, Schulze, Sandro, Ruland, Sebastian, Lochau, Malte, Saake, Gunter, Leich, Thomas

论文摘要

采样技术(例如T-Wise交互采样)用于启用可配置系统的有效测试。这是通过为系统生成少量但代表性的配置样本来实现的,该样本范围绕过测试整个解决方案空间。但是,根据设计,最新的T-Wise交互采样方法仅考虑可配置系统的可变性模型的配置选项组合,并且没有考虑到其映射到解决方案空间上,因此潜在地将关键的实现工件未经测试。 Tartler等。通过考虑实施工件的存在而不是纯配置选项来解决此问题,但不考虑这些工件之间的可能相互作用。在本文中,我们介绍了T-Wise的存在条件覆盖范围,从而扩展了Tartler等人的方法。通过使用从代码提取的存在条件作为基础来涵盖T-Wise相互作用。这样可以确保样本中包括实施工件的所有T-Wise相互作用,并增加了检测错误配置选项组合的机会。我们通过比较现有T-Wise相互作用采样技术的方法来评估测试效率和测试效率的方法。我们表明,与T-Wise相互作用采样相比,T-Wise存在条件采样能够产生大部分样品,同时保证T-Wise存在条件覆盖率为100%。

Sampling techniques, such as t-wise interaction sampling are used to enable efficient testing for configurable systems. This is achieved by generating a small yet representative sample of configurations for a system, which circumvents testing the entire solution space. However, by design, most recent approaches for t-wise interaction sampling only consider combinations of configuration options from a configurable system's variability model and do not take into account their mapping onto the solution space, thus potentially leaving critical implementation artifacts untested. Tartler et al. address this problem by considering presence conditions of implementation artifacts rather than pure configuration options, but do not consider the possible interactions between these artifacts. In this paper, we introduce t-wise presence condition coverage, which extends the approach of Tartler et al. by using presence conditions extracted from the code as basis to cover t-wise interactions. This ensures that all t-wise interactions of implementation artifacts are included in the sample and that the chance of detecting combinations of faulty configuration options is increased. We evaluate our approach in terms of testing efficiency and testing effectiveness by comparing the approach to existing t-wise interaction sampling techniques. We show that t-wise presence condition sampling is able to produce mostly smaller samples compared to t-wise interaction sampling, while guaranteeing a t-wise presence condition coverage of 100%.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源