一种测试实例生成方法及自动化测试系统

By automatically generating test cases through an NLP engine and optimizing the generation and discrimination networks, the problem of incomplete test coverage of the instrument's core modules was solved, achieving efficient and comprehensive automated testing, reducing costs and improving test quality.

CN117743152BActive Publication Date: 2026-07-17CHONGQING UNIV OF POSTS & TELECOMM

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHONGQING UNIV OF POSTS & TELECOMM
Filing Date
2023-12-01
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing instrument core module testing solutions cannot effectively cover peripheral interface functions, bus communication functions, and internal algorithm blocks. Manually generating test cases is time-consuming, labor-intensive, and susceptible to subjective bias, while automatically generating test cases is prone to omissions, making it difficult to meet the requirements for high-efficiency and comprehensive testing.

Method used

Test cases are automatically generated using an NLP engine. By constructing a generator network and a discriminator network, the generator network is optimized to meet testing requirements. GANs are used to optimize the NLP-generated test cases. Combined with an automated testing system, the peripheral interface functions, bus communication functions, and internal algorithm blocks of the instrument's core module are tested.

Benefits of technology

It achieves low maintenance costs and high ease of use, simplifies testing operations, reduces testing costs, improves automation, and generates test cases that are comprehensive, highly effective, and repeatable, thereby improving testing quality and effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117743152B_ABST
    Figure CN117743152B_ABST
Patent Text Reader

Abstract

本发明属于自动化测试技术领域,具体涉及一种测试实例生成方法及自动化测试系统,方法包括通过NLP引擎构建生成网络将测试需求文本描述作为输入,自动生成的测试用例作为输出;构建判别网络,将自动生成的测试用例和样本用例作为输入,判别网络判断输入的数据属于样本用例的概率;根据判别网络对自动生成的测试用例和样本用例判别差异度,并根据该差异度对NLP引擎进行优化,直到判别网络对自动生成的测试用例的输出满足需求;利用满足需求的NLP引擎生成测试用例,并对测试用例进行校验,将满足校验要求的测试用例用于仪器测试;本发明大大降低了测试的成本、提升了自动化效果。
Need to check novelty before this filing date? Find Prior Art