3 ms·
You can fix the PRNG seed in your build pipelines, which should make them execute the same examples for each test. Hypothesis has a nice feature which uses a h
by chriswarbo 2y ago
You can fix the PRNG seed in your build pipelines, which should make them execute the same examples for each test.
Hypothesis has a nice feature which uses a hash of each test's source code as the PRNG seed for that test, which ensures the same examples are checked every time (unless someone changes the text of that particular test). It's a nice idea, but might be hard to implement in compiled languages (like Haskell, for example).