Month: September 2014

Generating random mobile numbers with Scala

comment 1

Sometimes in testing we need to generate random data. When it comes to generating mobile numbers it would be helpful if we could be sure they aren’t allocated to a real person, just in case we accidentally send 1000 text messages to random phone numbers. Luckily Ofcom has reserved ranges of numbers for dramatic use that are guaranteed not to be allocated to providers. Here’s a little random UK mobile number generator wrapped in an […]