<div dir="auto">Hi Juan,</div><div dir="auto"><br></div><div>On Tue, 16 Aug 2022 at 20:16 Juan Vuletich <<a href="mailto:juan@cuis.st">juan@cuis.st</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir="auto">Besides, any test I <br>
write is repeatable, setting Random seeds as needed. I guess you must <br>
have your reasons to do otherwise...</blockquote><div dir="auto"><br></div><div dir="auto">You set a fixed seed in the test method itself? In that case you run the exact same test every time. But what I do is set a ‘seed’ instance variable to a randomly generated value in initialize, and in setUp I set a ‘random’ instance variable to ‘Random seed: seed’. This is essentially what Leandro implemented in Bee (he added a ‘seed’ instance variable to TestCase). In this way, test methods can use ‘random’ freely and all is reproducible, but the seed is not fixed (if I create a new test suite or press the refresh button on the test runner new seeds are used, and on the long run a much larger space is covered in the tests).</div><div dir="auto"><br></div></div></div>