Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

5 results about "Test case generator" patented technology

Structured test case generation method and system based on RAG and MCP

The invention discloses a structured test case generation method and system based on RAG and MCP, and relates to the technical field of tool calling. The method comprises the following steps of: constructing an RAG knowledge base, partitioning, vectorizing and storing test related documents, and storing a test parameter set at the same time; a user system-level test task is decomposed into atomic task packages by means of a test task analyzer. And calling an RAG retrieval interface, converting the atomic task package text into a vector query condition, matching related fragments in a vector database, and reserving an original text. And the large language model calls an interface of a test case generator through an MCP protocol according to the matching fragment, the original text and the generation requirement, extracts parameters from a test parameter set, generates a structured test case, and stores the structured test case into a test case storage module for an automatic test framework to call and execute. The problems that existing test case design mainly depends on artificial experience, and a large amount of time and labor cost are consumed are solved.
Owner:XIAN LINGKONG ELECTRONICS TECH CO LTD

Rag and mcp-based structured test case generation method and system

The application discloses a RAG and MCP-based structured test case generation method and system, and relates to the technical field of tool calling.The method comprises the following steps: constructing a RAG knowledge base, carrying out blocking, vectorization and storage on test-related documents, and storing a test parameter set.Making use of a test task parser, a user system-level test task is decomposed into an atomic task package.A RAG retrieval interface is called, the atomic task package text is converted into a vector query condition, relevant fragments are matched in the vector database, and the original text is reserved.A large language model extracts parameters from the test parameter set and generates structured test cases according to the matched fragments, the original text and generation requirements, calls an interface of a test case generator through an MCP protocol, and stores the structured test cases in a test case storage module for calling and execution by an automatic test framework.The method solves the problem that existing test case design mainly relies on manual experience and consumes a large amount of time and labor cost.
Owner:XIAN LINGKONG ELECTRONICS TECH CO LTD

DL / T 634.5 104 communication-based automatic test method for power system guaranteed test power distribution terminal

The invention discloses a DL / T 634.5104 communication-based automatic test method for a power system guarantee and test integrated power distribution terminal, and belongs to the field of power system power distribution automation equipment test. According to the method, a test system composed of an upper computer, a switch, a relay protection tester and a tested terminal is built, data interaction of all devices is achieved based on a DL / T 634.5104 protocol, and two automatic test processes of measurement and control and protection are covered. According to the measurement and control process, a test case generator is instantiated, different industrial standards are adapted, test values corresponding to terminal rated parameters are automatically converted, and measurement error judgment is completed; a protection process depends on an Excel point table to realize constant value mapping, a pressing plate can be remotely put and withdrawn, a constant value can be modified, and the reliability of a protection action can be verified. The system supports a multi-terminal parallel test, can automatically generate an integrated comprehensive report and carry out test data trend analysis and abnormity early warning, solves the problem that a traditional test template is difficult to adapt and protects the pain point of function test manual operation, and improves the test efficiency and accuracy.
Owner:XUCHANG KETOP DETECTION TECH CO LTD

Fuzz testing autonomous systems

PendingGB2702586AError detection/correctionRankingTest case generator
A method consisting of obtaining a definition of interestingness 233 and a plurality of test cases suitable for fuzz testing an autonomous system 234 and providing them to a large language model (LLM) 231 which then outputs 238 a score or ranking of the test cases based on the definition of interestingness. The method may further comprise providing the LLM with: information on the state of the system separately from the test scenario, the output format of the LLM, and a methodology for ranking or assigning scores. The LLM may output an explanation of its rankings / scores which may be done by chain-of-thought prompting. The methodology may involve carrying out fuzz testing using selected test cases 239. The test cases may be obtained by a test case generator 220 which may consist of modifying some seed case 222 to obtain a mutated seed case 223. A test case analyser 230 for doing the same is also disclosed. [Figure 2]
Owner:BAE SYSTEMS PLC

Test case generation method and device based on reinforcement learning, equipment and medium

The invention provides a test case generation method and device based on reinforcement learning, equipment and a medium, and relates to the technical field of test development. According to the method, the problem description text and the standard answer code are obtained, and the executable test case generator is generated by utilizing the large language model, so that the automation of test case generation is realized, and the tedious work of manually compiling the test case is reduced. A generator is driven to generate candidate test input through a preset test case demand, consistency verification is carried out in a sandbox environment by utilizing a plurality of standard answer codes, the generation efficiency and quality of the test case are further improved by marking effective test input and constructing the test case, and through consistency verification and a dynamic optimization mechanism, the generation efficiency and quality of the test case are improved. The quality and the coverage rate of the test case are remarkably improved, so that the generation efficiency of the test case is greatly improved while high-quality output is ensured in financial insurance application development and medical diagnosis application development scenes.
Owner:PING AN TECH (SHENZHEN) CO LTD