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

一种用于性能需求验证与测试环境生成的方法

An approach for performance requirements verification and test environments generation

Waleed Abdeen, Xingru Chen, Michael Unterkalmsteiner

AI总结:

针对性能需求建模与测试研究不足的问题,提出PRO-TEST方法,可建模性能需求、发现歧义与完整性缺陷并生成测试环境参数,在149项需求上完成评估。

摘要:

基于模型的测试(MBT)是一种通过模型来支持测试用例设计与执行的方法,这些模型规定了被测系统的预期行为。虽然已有关于MBT总体情况的系统性文献综述,但关于性能需求建模与测试的最新技术所受关注仍少得多。因此,我们开展了一项关于基于模型的性能测试的系统性映射研究。随后,我们研究了自然语言软件需求规格说明,以理解通常会规定哪些性能需求以及如何规定。由于所识别出的MBT技术均不支持建模的一项主要收益,即发现需求规格说明中的缺陷,我们开发了Performance Requirements verificatiOn and Test EnvironmentS generaTion方法(PRO-TEST,性能需求验证与测试环境生成)。最后,我们在149份需求规格说明上评估了PRO-TEST。我们从系统性映射研究中找到并分析了57篇主要研究,并提取了50个性能需求模型。然而,这些模型并未实现MBT的目标,即验证需求、确保其可测试性,以及生成最低限度所需的测试用例。我们分析了77份软件需求规格说明(SRS)文档,从这些SRS中提取了149项性能需求,并说明借助PRO-TEST,我们能够对性能需求进行建模、发现这些需求中的问题并检测缺失的需求。在149项已建模的性能需求中,我们检测到3项不可量化需求、43项未量化需求以及180个未充分规定的参数。此外,我们根据这些模型生成了96个测试环境。通过使用PRO-TEST对性能需求进行建模,我们能够识别需求中与其歧义性、可测量性和完整性相关的问题。此外,该方法还允许生成测试环境的参数。

英文摘要:

Model-based testing (MBT) is a method that supports the design and execution of test cases by models that specify the intended behaviors of a system under test. While systematic literature reviews on MBT in general exist, the state of the art on modeling and testing performance requirements has seen much less attention. Therefore, we conducted a systematic mapping study on model-based performance testing. Then, we studied natural language software requirements specifications in order to understand which and how performance requirements are typically specified. Since none of the identified MBT techniques supported a major benefit of modeling, namely identifying faults in requirements specifications, we developed the Performance Requirements verificatiOn and Test EnvironmentS generaTion approach (PRO-TEST). Finally, we evaluated PRO-TEST on 149 requirements specifications. We found and analyzed 57 primary studies from the systematic mapping study and extracted 50 performance requirements models. However, those models don't achieve the goals of MBT, which are validating requirements, ensuring their testability, and generating the minimum required test cases. We analyzed 77 Software Requirements Specification (SRS) documents, extracted 149 performance requirements from those SRS, and illustrate that with PRO-TEST we can model performance requirements, find issues in those requirements and detect missing ones. We detected three not-quantifiable requirements, 43 not-quantified requirements, and 180 underspecified parameters in the 149 modeled performance requirements. Furthermore, we generated 96 test environments from those models. By modeling performance requirements with PRO-TEST, we can identify issues in the requirements related to their ambiguity, measurability, and completeness. Additionally, it allows to generate parameters for test environments.

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

↑