Method for automatically testing the brakes of a goods block train composed of a number of wagons connected to one another, comprising the following steps: - a brake test request is requested by a central computer by a responsible person carrying out the brake test, - the central computer is equipped with a communication device, - the central computer transmits a braking pattern to a smart phone which is provided with position-determining equipment, - the braking pattern is carried out from a locomotive in accordance with the specification of the smart phone, - characterized in that - wagons (2 - 5) of the goods block train are each equipped with an on-board diagnostic device which determines position, - in that during the testing of the brakes the on-board diagnostic device of the assigned wagon (2-5) monitors and stores the pressure conditions of a main air line and of a brake air line and, if present, the position of a parking brake of the wagon (2-5), - in that after the conclusion of the testing of the brakes the on-board diagnostic device of each wagon transmits a log, produced by the on-board diagnostic device and composed of the identified position of the wagon (2-5) together with the result of the testing of the brakes to the central computer , - in that the central computer evaluates the log of the individual wagons (2 - 5) and identifies the wagon order of the goods block train using the position data, communicated the on-board diagnostic devices , of the individual wagons (2 - 5), - in that the central computer communicates the result of the braking test and a list of the wagon order to the smart phone which is located in the locomotive . - a brake test request is requested by a central computer by a responsible person carrying out the brake test, - the central computer is equipped with a communication device, - the central computer transmits a braking pattern to a smart phone which is provided with position-determining equipment, - the braking pattern is carried out from a locomotive in accordance with the specification of the smart phone, - characterized in that - wagons (2 - 5) of the goods block train are each equipped with an on-board diagnostic device which determines position, - in that during the testing of the brakes the on-board diagnostic device of the assigned wagon (2-5) monitors and stores the pressure conditions of a main air line and of a brake air line and, if present, the position of a parking brake of the wagon (2-5), - in that after the conclusion of the testing of the brakes the on-board diagnostic device of each wagon transmits a log, produced by the on-board diagnostic device and composed of the identified position of the wagon (2-5) together with the result of the testing of the brakes to the central computer , - in that the central computer evaluates the log of the individual wagons (2 - 5) and identifies the wagon order of the goods block train using the position data, communicated the on-board diagnostic devices , of the individual wagons (2 - 5), - in that the central computer communicates the result of the braking test and a list of the wagon order to the smart phone which is located in the locomotive . <EOS>