News for hackers. Stuff that matters.
Re:Tests Should be Specific [video] by kellysutton on Friday February 14, 2020 @11:12AM (#22327702)
We’ve got an episode on this. Check out “Tests should be deterministic.” https://youtu.be/PwWyp-wpFiw

To put some more to it: I like my tests to not use random data, but I’ll use a random data generator when coming with the test cases. That way I don’t get surprises in CI with a flakey test, but I can still generate interesting cases.

There are no comments on this comment yet.