Test method and system for interfaces between modules

The invention provides a test method for interfaces between modules. The test method comprises the steps of obtaining a data package output by the modules to be tested, detecting fields in the obtained data package through stored interface information, and obtaining the detection result. The interface information is incoming interface information of the downstream modules of the modules to be tested, and is used for limiting the fields received by the incoming interfaces. The invention further provides a test system for the interfaces between the modules. According to the technical scheme, the modification cost of the modules can be lowered, and the development efficiency can be improved.