List of mock valid/invalid Email Addresses for Unit Tests

michael picture michael · Oct 3, 2011 · Viewed 25.2k times · Source

Does anyone know of a list of email addresses (which don’t need to be real) I can use for an email validation assembly for a unit test?

I’ve been looking for such a list and can’t seem to find one. I’m not looking for real addresses, just ones that fit, and the more things I can throw at the test the better. I’ve got 10 right now, but if there is a list, it would give me a more thorough test.

Answer

KonstantinK picture KonstantinK · Jan 4, 2012

I believe you were looking for something like this:

List of Valid and Invalid Email Addresses