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.

rernst's picture

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

All comment submissions must follow the Comment Policy. Your words remain your own and you are responsible for them. If you don't like the captcha, Login to a user account. You can login with OpenID too..
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <embed> <blockquote> <p> <iframe> <div> <span> <tt>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
u
8
a
V
M
k
s
Enter the code without spaces and pay attention to upper/lower case.