How should I test my iPhone app\'s passwordless authentication?
To sign up or log in, UI Testing in Xcode needs the random code that gets emailed to me.
Use NSURLSession to make HTTP requests from within test methods.
NSURLSession