The invention relates to the technical field of automobile
software testing, and discloses a
software test case automatic generation method and
system based on a language AI
large model, and the method comprises the steps: extracting a position path, a function name and a
test design direction content from
user input information, generating a configuration file through a preset Prompt template, and calling the AI
large model to interpret the user intention. Function, performance and regulation analysis tasks are split, an AI
large model is utilized to integrate information,
test design analysis is carried out, classification and redundant content
cutting are carried out, self-check evaluation is completed, a formatted Markdown
test design file is generated and then converted into a
mind map, an engineer checks the
mind map, manual modification and optimization are carried out according to needs, and the method is simple and convenient. The modified
mind map is converted into a Markdown file, a formatted
test case file is generated, the difference of the Markdown file before and after modification is compared through an AI large model, a Prompt template is updated, according to the method, the
test case can be efficiently generated, manpower dependence is reduced, and therefore the adaptability of the test case is guaranteed.