pivotal/cedar — pull request #51 by onsi (2012-10-06 04:50:08+00:00)
Title: Tests are randomly permuted

I've been in a few situations where this would have been valuable.

Tests are now randomly permuted every time the tests run. The reporter prints out the seed used to permute the tests.

The seed can be set using the CEDAR_RANDOM_SEED environment variable, doing so reproduces the permutation order.

Random tests orders are important for identifying test pollution. Being able to reproduce the permuted order is important for debugging said test pollution!