On 2014-05-01 19:12, Steven Schveighoffer wrote:
But not a great way to debug it.If your test failure depends on ordering, then the next run will be random too. Proposal runtime parameter for pre-main consumption: ./myprog --rndunit[=seed] To run unit tests randomly. Prints out as first order of business the seed value before starting. That way, you can repeat the exact same ordering for debugging.
That's exactly what RSpec does. I think it works great. -- /Jacob Carlborg