A question mark indicates a pure cryptic clue. E.g. from this tutorial on solving crosswords:
The second exception to a straightforward definition is a “pure cryptic” clue. In this clue type, the whole clue is a cryptic definition. These clues are often an opportunity for the Setter to have a sense of humour. For example:
He barely makes an appearance? (6)
The whole clue is the definition however the word “barely” needs to be interpreted unusually for this context.
“Pure cryptic” clues are often indicated by a question mark.
In this case, you're meant to interpret the word "driving" not in terms of driving a car or other vehicle, but in terms of golf. I must admit I'm not sure of the significance of the word "test" though.
It's worth noting that "Driving test?" can also be
a cryptic clue for DOGLEG (don't ask - I've no idea). This makes it not really a very good clue, IMO.