As of yet, there are no tests for migraines. To get an accurate diagnosis, you would need to speak to a clinician and identify a pattern of recurring headaches and associated symptoms. You can do this by logging every migraine you get onto an app or calendar a few weeks before you set up an appointment.