The invention provides an automatic regression test method and
system for process step files of battery test
software. The method comprises the following steps: establishing a golden sample
library containing a process step file set passing historical
verification and corresponding standard output
time sequence data; starting to-be-tested
software and loading a virtual battery
simulation engine, wherein the virtual battery
simulation engine is configured to simulate battery
response characteristics and respond to a hardware control instruction of the to-be-tested
software; obtaining a to-be-tested step file associated with the to-be-tested software, loading the to-be-tested step file in batches, driving the virtual battery
simulation engine to execute a test, and collecting actual measurement output
time sequence data; and comparing the actual measurement output
time sequence data corresponding to the part, contained in the gold sample
library, in the to-be-tested work step file with standard output time sequence data to judge a regression test result and output a report. According to the method, the automatic regression test of the battery test software working step file which runs at an ultra-real-time speed and automatically performs high-precision data comparison is realized.