reseed once per fixture set#49
Conversation
|
Having the seed What would seeding with |
|
i noticed about 'produce consistent results' intention, sorry. |
|
Ok, actually, I've found the actually cause of my issue. If i load 2 files with the files command that look like this. This will produce 100 cats and 100 dogs with the same names, because I'll edit this PR to fix that. |
|
Changing the default seed to Having 'seed' => Your problems seems to be only LoadFilesCommand, where a numeric |
90d7cc7 to
fecbc8b
Compare
|
Ok, so the issue was that the reseeding was occurring per file. This will keep the consistent results per set. What do you think? |
|
It was intended to have a seeding before each file. This way a single file will bring consistent results. I cant see your remaining problem anymore. What are you trying to achieve? |
Defaulting the seed to 1 causes Faker randomisation to not really work as expected.
Defaulting the seed to
nullis probably a better idea?EDIT: I've just seen this is expected, to produce consistent data across runs.
Anyway, I'd like at least to be able to set seed to
nullin theLoadFilesCommandWhat do you think?