可配置系统的T-Wise存在条件覆盖和采样
T-Wise Presence Condition Coverage and Sampling for Configurable Systems
摘要:
采样技术,如t-交互采样,用于实现可配置系统的有效测试。这是通过为系统生成一个小而有代表性的配置样本来实现的,这避免了测试整个解决方案空间。然而,通过设计,最新的方法t-明智的互动采样只考虑组合的配置选项从一个可配置的系统的可变性模型,并没有考虑到他们的映射到解决方案空间,从而可能留下关键的实现工件未经测试。Tartler等人通过考虑实现工件的存在条件而不是纯粹的配置选项来解决这个问题,但没有考虑这些工件之间可能的交互。在本文中,我们介绍了t-明智的存在条件覆盖,它扩展了Tartler等人的方法。通过使用存在条件提取的代码作为基础,以涵盖t-明智的相互作用。这确保了实现工件的所有t-wise交互都包含在样本中,并且增加了检测错误配置选项组合的机会。我们评估我们的方法在测试效率和测试有效性方面,通过比较现有的t-明智的交互采样技术的方法。我们表明,与t方向交互抽样相比,t方向存在条件抽样能够产生更小的样本,同时保证t方向存在条件覆盖率为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%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。