Each test has a specific process that it must complete... for one it may only have to have the engine started once.
For others you may be required to drive, steady-state, at freeway speeds for 6-8 mins non-stop... and this must happen 3 or more times, .. or you might have to accelerate to above 40(arbitrary number here) then slow down to 0...do that three times.. (Etc, etc, etc)
So... to answer your question as honestly as possible: the more you drive it, and the more varied your driving actions are, the faster it will go.
But like it was said: if its only a sniffer check and a visual check of the CEL being OFF, then you will be fine, regardless if it isn't done.
Ray