What happened?

I took an ovulation test for the whole "2 week fertility window" and it turned out negative every day, and I just got my period, which means I did ovulate at some point. According to my doctor exactly 15 days before I got my period, so I counted backwards and I did got a negative test on that exact day...so what happened? Can someone help me understand?