Randomness in Tests
By Eric
—
—
4 minute read
Wouldn't it be cool if a few uses of the random
module in your unit tests
could discover bugs in your code? Meh.
The problem is that random tests are non-deterministic, meaning they lack the highly desirable property that if they pass in my local development environment, they'll also pass …