Random seed
See original GitHub issueWhen using any kind of random in testing we want it to be reproducible.
Right now all the providers rely on some kind of random functions.
So, what I suggest:
- Create a new optional config entry:
ELIZABETH_RANDOM_SEED(maybe it should be a parameter somewhere as well?) - When it is set, use it’s value as a seed
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Python Random seed() Method - W3Schools
The seed() method is used to initialize the random number generator. The random number generator needs a number to start with (a seed...
Read more >Random seed - Wikipedia
A random seed (or seed state, or just seed) is a number (or vector) used to initialize a pseudorandom number generator. For a...
Read more >random.seed( ) in Python - GeeksforGeeks
Seed function is used to save the state of a random function, so that it can generate same random numbers on multiple executions...
Read more >Python random.seed() function to initialize the pseudo-random ...
The seed value is a base value used by a pseudo-random generator to produce random numbers. The random number or data generated by...
Read more >random — Generate pseudo-random numbers — Python 3.11 ...
Class that implements the default pseudo-random number generator used by the random module. Deprecated since version 3.9: In the future, the seed must...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Not until the next weekends.
@blakev maybe it is indeed a good idea.
@lk-geimfari I guess we should not create our own random instance, lets use shared
randominstance.