Strange/Stupid Question

Does the pump in the transmission pump while the engine is runnig, or only when the car is moving?

Essentially what I am asking is if I can break in my cam, before I re-install the tranny lines, or am I going to be puking tranny fluid all over the floor?