01 Ram won't start, need help!

Tried a new cap and rotor, no go. I don't want to just start replacing stuff, does anyone know how to test the crank sensor?