Pregnancy testing

Amy • Mother of 3 Beautiful Children, 1 step daughter and My Angel Baby I miscarried in Feb 2015!
How many days before ur expected period is good day to start testing? Not sure if I ovulated the day glow says but I'm due around July 19th for my period.. Also how long after ovulation are u suppose to have the white discharge up to ur period?