首页|基于有效状态覆盖的测试用例自动生成方法

基于有效状态覆盖的测试用例自动生成方法

扫码查看
为执行反应堆保护系统工厂测试阶段的确认测试,通常由测试工程师手动编写测试用例,耗费大量人力和时间成本,且可能出现错误、冗余或遗漏.该研究以保护系统确认测试中测试用例生成过程为研究对象,以功能图为依据,提出一种基于有效状态覆盖的测试用例自动生成方法.该方法以保护系统功能逻辑为约束,实现对模块功能和链路的有效状态覆盖,生成充分且高效的测试用例.实验表明,相比常用的测试用例生成方法,该研究提出的方法可在满足测试充分性的情况下尽可能减少用例数量,提高测试效率.
Automatic Test Case Generation Based on Effective State Coverage
To perform validation testing during the factory testing phase of the reactor protection system,test cases are usually manually written by testing engineers,which consumes a lot of manpower and time cost,and may result in er-rors,redundancies and omissions.This study focuses on generation process of test cases in protection system valida-tion testing,and proposes an automatic test case generation method based on effective state coverage based on func-tional diagrams.This method is constrained by the functional logic of the protection system,achieving effective state coverage of module functions and links,and generating sufficient and efficient test cases.Experiments have shown that compared to commonly used test case generation methods,the method proposed in this study can minimize the number of test cases and improve testing efficiency while meeting testing adequacy requirements.

automatic test case generationautomatic testingprotection systemsatisfiability modulo theories

王淼、青先国、刘宏春、孙诗炎

展开 >

中国核动力研究设计院核反应堆系统设计技术重点实验室,成都 610213

测试用例自动生成 自动测试 保护系统 可满足性模理论

2024

自动化与仪表
天津市工业自动化仪表研究所 天津市自动化学会

自动化与仪表

CSTPCD
影响因子:0.548
ISSN:1001-9944
年,卷(期):2024.39(10)
  • 3