The invention discloses a parameter feature-based
test case generation method and a related product. In the scheme, a parameter document of target
simulation software is obtained; and extracting parameter feature information of the target
simulation software based on the parameter document. And on the basis of the parameter feature information, matching a
test case template and a
code generation rule in a pre-constructed code
knowledge base, and generating an initial
test case code. And dynamically optimizing the initial test case code according to feedback data generated in a
simulation test process to generate a target test case code. According to the technical scheme, the parameter feature information is automatically extracted, the complex dependency relationship between the parameters is accurately analyzed, the test case is automatically generated based on the
knowledge base matching template and rule,
software changes are adapted in real time in combination with a dynamic optimization mechanism, dynamic and efficient generation of test case codes is achieved, and the
test efficiency is improved. The coverage degree and the adaptability of the test case codes are improved, and then the accuracy, the comprehensiveness and the efficiency of the test are improved.