Skip to content

Commit

Permalink
- Improved wording on Minitest::Test#parallelize_me! to clarify it go…
Browse files Browse the repository at this point in the history
…es INSIDE your test class/describe.

[git-p4: depot-paths = "//src/minitest/dev/": change = 14070]
  • Loading branch information
zenspider committed Mar 12, 2024
1 parent 93597e5 commit 1ead76c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/minitest/test.rb
Expand Up @@ -52,9 +52,10 @@ def self.make_my_diffs_pretty!
end

##
# Call this at the top of your tests when you want to run your
# tests in parallel. In doing so, you're admitting that you rule
# and your tests are awesome.
# Call this at the top of your tests (inside the +Minitest::Test+
# subclass or +describe+ block) when you want to run your tests in
# parallel. In doing so, you're admitting that you rule and your
# tests are awesome.

def self.parallelize_me!
include Minitest::Parallel::Test
Expand Down

0 comments on commit 1ead76c

Please sign in to comment.