method

test_order=

Importance_1
v4.2.1 - Show latest stable - 0 notes - 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)

Show source
Register or log in to add new notes.