Hey Dupa,
Sorry about your dilemma. What model Cub is this?
I've replaced a couple of ignition modules that acted similar, but generally the tractor would run just long enough to get you as far from the tools as possible, then quit.
Yours sound like a newer model (25HP) and I don't think they used the same ignition module, but they gotta generate a spark somehow.
I found the cheapo Harbor Freight spark indicators to be a good troubleshooting tool. They light up if you have spark and the tractor will run with them in place.
I feel you pain, I got up early yesterday, headed out to clear the drive, the tractor won't start and has a flat front tire, leaking fron the sidewall, I was able to jump it and get enough air in it to clean the drive, but I gotta replace two tires today, dry rot....
Curt
Good Luck