Abstract:With the rapid advancement of aerospace technology, satellite system design is accelerating towards intelligence and complexity. As a core component for on-orbit mission execution, satellite mechanism drive control software is primarily responsible for controlling mechanisms such as solar arrays and antennas. Its control accuracy directly impacts satellite power supply, communication links, and the execution of scientific exploration missions. Due to the extreme difficulty of on-site repairs in the event of on-orbit failures, such software must possess exceptionally high reliability, safety, and stability. This paper conducts a systematic analysis of the software"s functional architecture. Based on its characteristics of complex motion control and multiple safety protections, a universal comprehensive testing methodology is proposed. This method not only covers conventional software testing dimensions but also specifically designs fault injection, boundary condition, and safety test cases for the aerospace environment. Test results fully demonstrate that this method can effectively enhance the sufficiency and effectiveness of testing, providing robust technical support for the long-term on-orbit operation of satellites.