The prospects of measuring the leptonic angles and CP-odd phases at a neutrino factory are discussed in two scenarios: 1) three active neutrinos as indicated by the present ensemble of atmospheric plus solar data; 2) three active plus one sterile neutrino when the LSND signal is also taken into account. For the latter we develop one and two mass dominance approximations. The appearance of wrong sign muons in long baseline experiments and tau leptons in short baseline ones provides the best tests of CP-violation in scenarios 1) and 2), respectively.