Pregnancy

Is it possible to have negative tests alllll the way up to the day your period is due and then get a positive the day of or after???