Generating Test Profiles in SharePoint

A common need when testing SharePoint solutions is having test accounts setup a certain way so they can do something. Whether this is a test account for a country or language, or whatever. Normally it is very painful to set these accounts up as typically they end up being setup by hand in the user profile service application. So I’ve gone ahead and built a tool (which the code for is below). Which just reads all the attributes for a profile from a CSV and updates the users profiles.