not sure how relevant my comments will be but your question brings back memories..
On steam we used to take the steam locomotives out for a trial run after a major overhaul, all the fitters who worked on that specific locomotive would sit on the front by the smoke box and on the 'running boards' during the trip , good fun but dangerous.
on diesel and electric units after each scheduled or non-scheduled repair there are forms ranging from a daily , monthly , 3 monthly, 6 monthly and annual scheduled and non-scheduled inspection forms that are filled in and signed by the maintenance staff and supervisors. Each RR probably has it's own set of forms set out as required. These forms are broken up into sections which pertains to every aspect of maintenance on the locos, including brake tests, electrical tests etc. to ensure quality workmanship. Diesels are taken to a load box as specified in the manuals or if there are performance problems, ( a load simulator that couples resistor banks to the locomotives engine and alternator/generator ) , and performance is checked in all notches and under all conditions.
The completed maintenance forms also contain info like man hours, parts used - like brake blocks, oil and filters etc. and all this info is captured on computer programs for cost and quality control etc.
Drivers have trip reports for each trip and these reports are attended by technical staff as required.
cheers
