The invention provides a piece of charge and discharge test equipment for distributed all-online battery packs. The equipment includes a battery pack online switching device, an MCU unit, a high-frequency DC / DC converter, a working power supply circuit, a driving control circuit, single voltage detection equipment, a current / voltage data acquisition circuit, a remote communication circuit, and a data storage and human-computer interaction circuit. The battery pack online switching device gates an online backup battery pack and connects the online backup battery pack to the two ends of the working power supply circuit, and is further connected in parallel with the high-frequency DC / DC converter. The MCU unit is connected with the high-frequency DC / DC converter, the working power supply circuit, the single voltage detection equipment, the current / voltage data acquisition circuit, the remote communication circuit and the data storage and human-computer interaction circuit. The problem that there is hidden danger to the maintenance and test safety in the whole process of offline discharge operation, power supply and coming back online is solved. The charge and discharge test equipmenthas the advantages of energy saving, simple and safe operation, safe online power supply, automatic online charging and equipotential connection recovery at the end of test, and the like.