A configurable defect and
test case automatic generation method is used in the technical field of
software testing, historical error logs are clustered based on a K-means clustering
algorithm, an error log type configuration table is generated, free configuration of whether the error logs need to be processed or not is achieved, automatic submission of defects is achieved, and the
test efficiency is improved. The
bottleneck and performance problems of the
system are found in time and optimized; meanwhile, automatic generation of test cases is achieved, a
test case library is further perfected, a Jenkins
continuous integration tool is used for executing the automatic test cases at regular time, a
test report is generated through Allure, the
test efficiency and the
controllability and stability of a tested
system are improved, and meanwhile, in the process of continuously
processing system error logs, the
test efficiency is improved, and the test efficiency is improved. And self-improvement of the error log type
library is realized.