Hard starting assistance please.

So I pulled the wire from distributor to coil off at the distributor and laid it on valve cover to see if it sparked and it did not. I’m confused because it runs intermittently. Is the coil going bad or something else? I assume check the cranking volts at the + to the coil?