The invention relates to the technical field of
software testing, and discloses an agent-based multi-dimensional
test sample automatic generation method and
system.The agent-based multi-dimensional
test sample automatic generation method comprises the steps that code changes are captured, interface definitions are extracted, and multi-
source data are fused for consistency
verification; constructing a multi-dimensional
dependency graph and analyzing the change influence to obtain an associated interface
list; generating a multi-dimensional
test scene; performing parameter
traceability and consistency derivation, and initializing
test data and environment to obtain a complete
test data set; generating a use case code, and performing hierarchical optimization and
executable verification; test arrangement optimization and automatic execution are carried out, and faults are monitored and diagnosed in real time; carrying out multi-
dimensional analysis and defect identification, dynamically evaluating the value of a
test case and optimizing a
test strategy to obtain a comprehensive
test report; according to the invention, full-process
automation of
test case generation is realized, the
test efficiency and quality are improved, and the test maintenance cost is reduced.