The invention discloses a battery charging and discharging testing equipment and method. A control module is respectively connected with a switch power supply and an electronic load, and the switch power supply and the electronic load are respectively connected with the two electrodes of a battery to be tested; the switch power supply is turned off, the battery is charged with a constant current by the switch power supply, when a charging voltage is larger than or equal to U1, constant-voltage charging is carried out, and when the charging current is smaller than or equal to I2, the switch power supply is turned off, and stands for T hours; the electronic load is turned on, constant-current discharging is carried out, when the discharging voltage is smaller than or equal to U2, the electronic load is turned off, one testing time is added, the capacity of the battery is calculated, and if the capacity is larger than or equal to M, testing is continuously carried out, and if the capacity is smaller than or equal to M, testing is finished. The battery charging and discharging testing equipment and method aim to overcome defects in the prior art, the battery charging and discharging testing equipment which is composed of components such as the switch power supply, the electronic load and the control module is low in total cost and simple in system manufacturing and is operated through repeated circulating charging and discharging procedures, wherein the components such as the switch power supply, the electronic load and the control module are easy to operate.