instance method parallel_worker_id

Ruby on Rails 8.1.2

Since v8.1.2

Signature

parallel_worker_id()

Returns the current parallel worker ID if tests are running in parallel

Source
# File activesupport/lib/active_support/test_case.rb, line 199
    def parallel_worker_id
      self.class.parallel_worker_id
    end

Defined in activesupport/lib/active_support/test_case.rb line 199 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::TestCase

Type at least 2 characters to search.

↑↓ navigate · open · esc close