Period due today

But didn't come is it ok to take pregnancy test now? I'm hoping i am pregnant been ttc for a year, but i'm afraid it will be negative :(