Run ExUnit Tests In A Deterministic Order
Last updated
Was this helpful?
Last updated
Was this helpful?
When running a file of tests, they will be executed in a pseudo-random order based on a seed value. In general, ExUnit
will pick a random seed each time you run your tests. If you'd like to add some determinism to the order that your tests run in, you can specify the seed in the ExUnit
configuration.
h/t Chris Erin