arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1907.09029cs.SE
收藏

代码感知组合交互测试

Code-Aware Combinatorial Interaction Testing

Bestoun S. Ahmed, Angelo Gargantini, Kamal Z. Zamli, Cemal Yilmaz, Miroslav Bures, Marek Szeles

摘要:

组合交互测试(CIT)是解决软件系统中输入参数交互的有效测试技术。在许多应用中,该技术已被用作一种系统的抽样技术,对测试用例的巨大可能性进行抽样。在过去的十年中,大多数的研究活动集中在CIT测试套件的生成,因为它是一个计算复杂的问题。虽然有希望,但在应用CIT方面付出的努力较少。一般来说,要应用CIT,从业者必须确定被测软件(SUT)的输入参数,将这些参数提供给CIT工具以生成测试套件,然后在应用程序上运行这些测试,并使用某些通过和失败标准进行验证。使用这种方法,CIT被用作黑盒测试技术,而不知道内部代码的效果。虽然有用,但实际上,并非所有参数对SUT具有相同的影响。本文介绍了一种不同的方法来使用CIT作为一个灰盒测试技术,通过考虑内部代码结构的SUT知道每个输入参数的影响,从而使用这种影响在测试生成阶段。我们将我们的方法应用于五个可靠的案例研究。结果表明,该方法将有助于检测新的故障相比,等影响参数的方法。

英文摘要:

Combinatorial interaction testing (CIT) is a useful testing technique to address the interaction of input parameters in software systems. In many applications, the technique has been used as a systematic sampling technique to sample the enormous possibilities of test cases. In the last decade, most of the research activities focused on the generation of CIT test suites as it is a computationally complex problem. Although promising, less effort has been paid for the application of CIT. In general, to apply the CIT, practitioners must identify the input parameters for the Software-under-test (SUT), feed these parameters to the CIT tool to generate the test suite, and then run those tests on the application with some pass and fail criteria for verification. Using this approach, CIT is used as a black-box testing technique without knowing the effect of the internal code. Although useful, practically, not all the parameters having the same impact on the SUT. This paper introduces a different approach to use the CIT as a gray-box testing technique by considering the internal code structure of the SUT to know the impact of each input parameter and thus use this impact in the test generation stage. We applied our approach to five reliable case studies. The results showed that this approach would help to detect new faults as compared to the equal impact parameter approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑