humanmade/go-anonymize-mysqldump

Generate random data instead of fixed strings

Closed this issue · 1 comments

While I've been building the prototype, I've been replacing values using functions with fixed strings. I want to use a faker-type library to actually generate random data, but unit testing randomly generated data is tough so I've been deferring solving that problem.

I just realized I could use the existing functions as mocks for testing purposes, now I just need to write the integration.

Fixed in 86a0483