基于RTC闭环覆盖率驱动的自动化测试系统研究

2025,33(1):29-35
李智, 刘欣, 孙肖, 王月波, 李海霞
中国电子科技集团第十研究所
摘要:为解决手工测试、自动化测试过程中漏测问题,优化回归测试,提高测试精准度和执行效率;首先,采用头脑风暴和项目历史经验的方法,分析了软件测试过程中产生漏测的原因,列举了常用解决漏测问题的措施;然后,常用方法只能反应软件开发过程中某一方面会引起软件质量问题,不能在软件全生命周期综合定量反馈软件质量,针对该问题,从软件工程RAD开发模型理论引入需求覆盖、测试用例覆盖、代码覆盖测量指标,分析三个指标之间关联关系,提出“软件需求-代码-测试用例”闭环覆盖率方法监测软件测试质量;其次,设计了基于软件需求、代码、测试用例闭环率驱动的自动化测试系统模型,并阐述了其设计模型和实现方法,同时开发了原型系统;最后,进行案例实验,验证方法可行性和效果,并针对实验过程的问题提出后续改进方向。
关键词:漏测;覆盖率;软件自动化测试;RAD;RTC;测试质量

Research of Automated Testing System Driven with RTC Closed Loop Coverage

刘欣, 孙肖, 王月波, 李海霞
Abstract:To solve the problem of missed tests in manual and automated testing processes, optimize regression testing, improve testing accuracy and execution efficiency; Firstly, using the methods of brainstorming and project history experience, the reasons for missed tests during software testing were analyzed, and common measures to solve the problem of missed tests were listed; Then, common methods can only reflect that a certain aspect of the software development process will cause software quality problems, and cannot provide comprehensive quantitative feedback on software quality throughout the entire software lifecycle. To address this issue, requirements coverage, test case coverage, and code coverage measurement indicators are introduced from the software engineering RAD development model theory. The correlation between the three indicators is analyzed, and a closed-loop coverage method of "software requirements code test cases" is proposed to monitor software testing quality; Secondly, an automated testing system model driven by software requirements, code, and test case closed-loop rate was designed, and its design model and implementation method were elaborated. At the same time, a prototype system was developed; Finally, conduct case experiments to verify the feasibility and effectiveness of the method, and propose further improvement directions for the problems encountered during the experimental process.
Key words:Missing measurement; Coverage rate; Software automation testing; RAD; RTC; Test quality
收稿日期:2023-11-12
基金项目:
     下载PDF全文