When to test for ovulation

Diana

When is it best to test for ovulation? Is it the same as a pregnancy test with morning urine or doesn’t matter with ovulation tests?