Negative test but no period

If a pregnancy test shows up negative after your period has been late for more than two weeks, is it accurate?