Production, wiring, testing of distribution cabinets