Hey i have fixed numerous non running engines, 1. disconnect the red wire coming out of the stator housing going to the cdi and text for voltage by pulling the engine over there should be like 15+ volts depending on how aggressive you pull it, if that checks out you have a good stator.
2. I them go up and unplug the cdi and test the red wire going into it from the stator for power, (make sure you reconnected the wires in step 1)pull the engine over and if you have power going to the cdi you know the wires in the harness are okay. plug the cdi back in.
3. check the output wire from the cdi to the coil, usually a yellow/black wire, and disconnect it from the coil test for voltage while pulling over the engine, it wont be much but if it registers some voltage you are probably good
4 plug everything back in like it should, take off the spark plug wire cap and stick your meter into the bare wires from the coil pull over and see if you have voltage. no voltage here means you have a bad coil or ground, if you have voltage then its just the cap.
5 still no spark? make sure where all the green wires on the harness touch the metal on the frame/engine/components where they are supposed to and are grounded nice and good
6. it is also a good idea to test the pulse generator under the cdi cover on the head, just unplug the wires the pull it over to see if you have voltage between them
7 Basically its just a game of seeing where the electrons getting hung up, ALWAYS TEST BOTH AC/DC VOLTAGE AC will be coming out of stator but after the cdi it can be dc so its good to test for both on every component GOODLUCK! let us know if you get this fixed