This has some useful information and simple test circuits. You would need a square wave from a 555 timer or other source.
I usually test the dc resistance of the coils then use my variable speed drill to run the stepper motor as a generator, observing the generated sine waves with an oscilloscope.