The invention relates to the technical field of
embedded system testing, in particular to a method for testing functionality and stability of a core board
service component, which comprises the following steps of: initializing a core board testing environment, ensuring that
software and hardware parameters are consistent in a testing process, and aiming at the
service component on a core board, testing the
service component on the core board; the method comprises the following steps of: analyzing and generating a dependency relationship graph among components by utilizing a
dependency graph model, optimizing a key dependency relationship through a
deep learning model, performing
functional testing on the components according to a priority based on the optimized dependency relationship graph, and testing the stability of a core board during high-
concurrency and multi-task operation through multi-
thread scheduling and concurrent task
simulation. Abnormal, resource competition and
deadlock problems are detected; and finally, in combination with an actual application scene, carrying out component hot plug, network abnormity, power-off
recovery and other scene tests, and analyzing
test data to generate a comprehensive
test report. According to the method, the test coverage rate and efficiency are improved, and stable operation of the
system under complex conditions is ensured.