Here in the US licensing and inspections are dealt with on a local basis so there are at least 50 different ways it is handled.
In my area, it works like this.
To become an electrician you need to start as apprentice.
4 years and 8000 hours performing electric work under the direct supervision of a licensed electrician.
An additional 600 hours of school time.
Once that is completed you may take the test to become a journeyman electrician.
In this state (Massachusetts) a journeyman can perform any electrical work and may run a business with one apprentice.
If you want to run a larger business you need to get a masters license.
That requires some time as a journeyman and more school hours.
Now for inspections in this state.
All electric work performed for a fee must have a electrical permit obtained from the city or town which the work is performed.
Once the work is done that will be concealed by walls or ceilings is done we call the inspector for a 'rough' inspection.
Assuming we pass that inspection the other trades can close the walls up.
Once we are completely done we call for the final inspection at which point the inspector comes out again.
In the case of new construction no one can occupy the building until all the trades receive their final inspection and a "Certificate of Occupancy" (CO) is issued by the building dept.
The power company will not connect power to anything without the inspector call them directly and authorizing them to connect power.
It sounds worse than it is and I feel it is all necessary to keep the 'hacks' in line.
Along with electrical inspectors in each city or town there are State paid licensing investigators making sure we follow the licensing rules. If we do not we can lose the right to our license.
Disciplinary actions against 14 electricians and two systems technicians. Bob