Ovulation test

What time of day am I supposed to do an ovulation test?  I know a pregancy test is supposed to be first morning urine but I didn't know if an ovulation test would be the same? Thanks in advance!!