Ectopic?

I've heard that some ectopic pregnancies won't show up on a pregnancy test is that true? How did you find out that your pregnancy was ectopic?