Test::RandomResults

cog on 2005-11-04T12:58:48

Remember?

Well, now I have internet at home, so yesterday I released Test::RandomResults.

Comments below, insults and flames to my email.


Seed whacking?

n1vux on 2005-11-04T16:58:25

If the random results are using the pseudorandom generator in a state of sin, shoudn't one set of tests jam the seed to produce a known sequence?

Re:Seed whacking?

cog on 2005-11-09T16:41:50

Well, whenever you load the module, a seed is set and printed as diagnosis, and thus, if the test fails, you know the seed and can reproduce it...

Now, the way the seed is set nowadays, *that* is kind of stupid O:-)

If you're suggesting the user being able to pass the module his own seed, well... kind of makes sense... although I think the results could be different from machine to machine, but the user would have to be aware of that himself... but I'm not sure, as I don't know much about sinner generators O:-)