Using Disposable Email accounts for Drupal testing.
If you're working on some feature that requires you to create many user accounts, here's a tip I find helpful. Use a service like Spaml that creates disposable email accounts just by going to the site.
Drupal allows valid email addresses as usernames. If you can reduce your user creation process to just those fields which accept as valid an email address, you can just go down the form, tab, ctrl+v, tab... and then hit 'Submit'.
As an additional bonus, it saves you making unique email addresses for each account, and thinking up unique names for each user.
The names could be more human-readable, though.
Comments
I tend to use one single account, but use the + text to differentiate them - Drupal, Wordpress, etc. treat them as different addresses. You can find test installations of mine where the users are mike@lawl.com, mike+1@lawl.com, mike+2@lawl.com.
That's true, and it makes for accounts where your test accounts last long enough for you to differentiate between them.
It really speeds things up by using the email address in every field, though :D
Post new comment