GUI测试生成中基于会话的动作选择推荐系统
Session-Based Recommender Systems for Action Selection in GUI Test Generation
摘要:
在图形用户界面(GUI)级生成测试已被证明是一种有效的方法来揭示故障。当这样做时,测试生成器必须在给定被测系统(SUT)的当前状态的情况下反复决定执行什么操作。这个行动选择的问题通常涉及随机选择,这通常被称为猴子测试。一些方法利用其他技术来提高整体效率,但只有少数尝试创建类似人类的动作-甚至整个动作序列。我们已经建立了一个新的基于会话的推荐系统,可以指导测试生成。这使我们能够模仿过去的用户行为,达到需要复杂交互的状态。我们提出了一项实证研究的初步结果,其中我们使用GitHub作为SUT。这些结果表明,推荐系统似乎是非常适合的动作选择,该方法可以显着提高基于GUI的测试生成。
英文摘要:
Test generation at the graphical user interface (GUI) level has proven to be an effective method to reveal faults. When doing so, a test generator has to repeatably decide what action to execute given the current state of the system under test (SUT). This problem of action selection usually involves random choice, which is often referred to as monkey testing. Some approaches leverage other techniques to improve the overall effectiveness, but only a few try to create human-like actions---or even entire action sequences. We have built a novel session-based recommender system that can guide test generation. This allows us to mimic past user behavior, reaching states that require complex interactions. We present preliminary results from an empirical study, where we use GitHub as the SUT. These results show that recommender systems appear to be well-suited for action selection, and that the approach can significantly contribute to the improvement of GUI-based test generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。