Warehouse worker Eva French, 20, was not due to give birth for a month but her waters broke on the morning of her planned test, Metro reports.
French rejected calls from her partner and mother to cancel her appointment, saying: "I had failed my test in March and had to wait until August for another.
"I had to do it because I knew, if I didn't, I wouldn't have another chance until the baby was a little older. So, I didn't tell my instructor or the examiner what was happening and just got on with it."
French, of Livingston, West Lothian, received a score of 10 out of 16 in the test, during which she experienced four contractions.
She then drove herself to hospital for another six hours of labour before her daughter Eva was born.
In August, a student in Illinois gave birth to a baby boy hours after finishing her bar exam. She was experiencing contractions 20 to 30 minutes apart but opted to stay and complete the paper.
> Woman fakes giving birth to escape police
> Woman 'falls pregnant while pregnant'