Abstract:To XUnit, as a representative of the software to be automatic test framework has tended to mature. Based on embedded system application characteristics, this paper proposed a test automation framework based on the CUnit, and introduced the relevant implementation technology. The CUnit unit test framework was secondary developed, was made suitable for use in SPT6608A sunplus single chip microcomputer. In practice, the framework is proved effective, it can achieve to SPT6608A software modules of test automation.