method
test_order=
v7.2.3 -
Show latest stable
- Class:
ActiveSupport::TestCase
test_order=(new_order)public
Sets the order in which test cases are run.
ActiveSupport::TestCase.test_order = :random # => :random
Valid values are:
-
:random (to run tests in random order)
-
:parallel (to run tests in parallel)
-
:sorted (to run tests alphabetically by method name)
-
:alpha (equivalent to :sorted)