arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1708.03236cs.SE
收藏

一种基于Hint的系统级模型测试用例优先级确定技术

A Hint-Based Technique for System Level Model-Based Test Case Prioritization

João Felipe Silva Ouriques, Emanuela Gadelha Cartaxo, Everton Leandro Galdino Alves, Patrícia Duarte Lima Machado

摘要:

测试用例优先级排序(TCP)技术旨在提出新的测试用例执行顺序,以利于实现特定的测试目标,如故障检测。目前的TCP研究主要集中在基于代码的回归测试,但在基于模型的测试(MBT)的上下文中,我们仍然需要更多的研究。一般的TCP技术不使用历史信息,因为该信息通常不可用。因此,技术使用不同的信息源来指导优先级。我们提出了一种新的技术,指导其操作使用提供的提示,基于提示的自适应随机优先级- HARP。提示是开发人员提供的关于易出错功能的指示或建议。由于提示可能很难自动收集,我们还提出了一种收集它们的方法。为了验证我们的研究结果,我们进行了一个实验,测量HARP引入提示的效果。实验结果表明,与HARP的基线相比,提示可以提高HARP的性能。然后,我们调查了开发人员/管理人员提供良好提示的能力,并将其用于案例研究。该分析表明,开发人员和管理人员能够提供有用的提示,这提高了HARP的故障检测相比,其基线。尽管如此,所提供的提示应该是开发团队成员之间一致同意的。

英文摘要:

Test Case Prioritization (TCP) techniques aim at proposing new test case execution orders to favor the achievement of certain testing goal, such as fault detection. Current TCP research focus mainly on code-based regression testing; however in the Model-Based Testing (MBT) context, we still need more investigation. General TCP techniques do not use historical information, since this information is often unavailable. Therefore, techniques use different sources of information to guide prioritization. We propose a novel technique that guides its operation using provided hints, the Hint-Based Adaptive Random Prioritization - HARP. Hints are indications or suggestions provided by developers about error-prone functionalities. As hints may be hard to collect automatically, we also propose an approach of collecting them. To validate our findings, we performed an experiment measuring the effect of introducing hints to HARP. It shows that hints can improve HARP's performance comparing to its baseline. Then, we investigated the ability of developers/managers to provide good hints and used them in a case study. This analysis showed that developers and managers are able to provide useful hints, which improves HARP's fault detection comparing to its baseline. Nonetheless, the provided hints should be consensual among the development team members.

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

↑