For a quick test, unscrew the tach cable from the back of the tach and try to pull the cable out of the casing. If you can pull it out, the cable's history. If you can't pull it out, start the bike. If you see the end of the cable spinning, the cable and drive mechanism is likely ok.
Being cables, they do have a finite life span. To replace them is pretty easy. Just unscrew one end from the back of the tach and remove the screw holding the other end in place on the valve cover and the cable will be freed from the bike.