The invention discloses a
test case generation cooperation
system for an automobile BCM, and the
system comprises an
interface layer which provides files, tasks, reviews and
questions and answers, and returns an increment result in an SSE streaming manner; the multi-agent
collaboration layer is connected and interacted with the
interface layer, comprises a
test case generation agent and a
test case review agent, and is controlled by
polling dialogues in combination with termination conditions; the
model management layer is connected with and receives the instruction of the multi-agent
collaboration layer, and is used for uniformly adapting to
multiple models and performing task-level
reference tracking and cleaning; the data persistence layer is connected with the
interface layer, receives and stores three entities of files, tasks and review history, and records a state
machine and a write-back trace; and the tool is connected with the log layer, sends data to the interface layer and is used for robust
JSON extraction, unified log and rotation and structured downloading and exporting. A'test case generation Agent-test case review Agent-manual review 'closed-loop collaborative mechanism can be realized, and a test case set which is strictly structured and can fall into a
library is automatically generated for a BCM scene.