Run ExUnit tests in the order they are defined
You might have a test module like this.
And when you run it, second
runs before first
!
In general this is fine, because every test should pass no matter which one runs first. In certain circumstances however, lets say you're working through some Exercism.io challenges, you might want them to run in order.
To do so include the configuration seed: 0
And tackle every test in the order they've been given to you!
Tweet