

851·
16 days agothere’s a pretty simple solution IMHO. The faker python library is awesome at generating test data. Return a random dob everytime a site requests it.
import faker
faker fake
return fake.date_of_birth(minimum_age=18, maximum_age=90)


there’s a pretty simple solution IMHO. The faker python library is awesome at generating test data. Return a random dob everytime a site requests it.
import faker
faker fake
return fake.date_of_birth(minimum_age=18, maximum_age=90)


Wow, all that with an esp32. No fancy hardware needed.
Mostly because it’s starting with dob, what happens when they require a phone number, address, credit card, or social security number? Faker can fake all those in that library. But you’re absolutely right, for one dob it is massive overkill.
Also, I’m do test automation for my career. Litterally use faker daily for generating test data. Defaulting to it is natural and familiar. Most use what they’re familiar with, rarely the best solution for a task.