There is an anti-pattern with Faker that I would like to spread awareness of.
Don't use Faker in your tests. It might seem like a fun way to avoid uniqueness constraints, but eventually Faker will repeat itself and fail a test. I have probably had to remove Faker calls a half dozen times due to this. Use an infinite sequence in tests instead.
Faker is great for populating an MVP or prototype though.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There is an anti-pattern with Faker that I would like to spread awareness of.
Don't use Faker in your tests. It might seem like a fun way to avoid uniqueness constraints, but eventually Faker will repeat itself and fail a test. I have probably had to remove Faker calls a half dozen times due to this. Use an infinite sequence in tests instead.
Faker is great for populating an MVP or prototype though.