Take several test-runs before any major rides. Make sure your able to reach all the gears and that it behaves reliably when shifting gears.
Step 8: Final adjustment
Take the opportunity to lube the derailer so the new cable works effortlessly. Crimp end on cable to keep cable from fraying. This can be done by pinching the small metal sleeve over end of cable and pinching with a pair of pliers.