File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,9 @@ defmodule ExUnit do
274
274
* `:seed` - an integer seed value to randomize the test suite. This seed
275
275
is also mixed with the test module and name to create a new unique seed
276
276
on every test, which is automatically fed into the `:rand` module. This
277
- provides randomness between tests, but predictable and reproducible results;
277
+ provides randomness between tests, but predictable and reproducible
278
+ results. A `:seed` of `0` will disable randomization and the tests in each
279
+ file will always run in the order that they were defined in;
278
280
279
281
* `:slowest` - prints timing information for the N slowest tests. Running
280
282
ExUnit with slow test reporting automatically runs in `trace` mode. It
Original file line number Diff line number Diff line change @@ -159,7 +159,8 @@ defmodule Mix.Tasks.Test do
159
159
* `--raise` - raises if the test suite failed
160
160
161
161
* `--seed` - seeds the random number generator used to randomize the order of tests;
162
- `--seed 0` disables randomization
162
+ `--seed 0` disables randomization so the tests in a single file will always be ran
163
+ in the same order they were defined in
163
164
164
165
* `--slowest` - prints timing information for the N slowest tests.
165
166
Automatically sets `--trace` and `--preload-modules`
You can’t perform that action at this time.
0 commit comments