How accurate is a pregnancy test a week before your expected period?

Tomorrow it'll be seven days until AF. Should I wait or can I test?