Closed brianhelba closed 3 years ago
Using a fixed random seed only ensures that the current set of tests consistently succeed, but there's no guarantee that future tests will continue to be lucky. Additionally, using the mock_db tool can still result in illegal duplicates.
mock_db
The pattern of using Factory Boy Sequences with Faker was suggested by: https://github.com/FactoryBoy/factory_boy/issues/835
Using a fixed random seed only ensures that the current set of tests consistently succeed, but there's no guarantee that future tests will continue to be lucky. Additionally, using the
mock_db
tool can still result in illegal duplicates.The pattern of using Factory Boy Sequences with Faker was suggested by: https://github.com/FactoryBoy/factory_boy/issues/835