class method
self.test_order
Ruby on Rails 6.1.7.10
Since v4.2.9Signature
self.test_order()
Returns the order in which test cases are run.
ActiveSupport::TestCase.test_order # => :random
Possible values are :random, :parallel, :alpha, :sorted. Defaults to :random.
Source
# File activesupport/lib/active_support/test_case.rb, line 41
def test_order
ActiveSupport.test_order ||= :random
end
Defined in activesupport/lib/active_support/test_case.rb line 41
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TestCase