Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev: use minitest-parallel_fork to speed up the suite #3001

Merged
merged 2 commits into from
Oct 14, 2023

Conversation

flavorjones
Copy link
Member

@flavorjones flavorjones commented Oct 10, 2023

What problem is this PR intended to solve?

Faster test suite in development!

With NCPU=7 I can usually get the suite done in under 1.8 seconds on my laptop (inspired by tldr)

Note that I dropped minitest-reporters because the two gems aren't compatible. I wasn't often using minitest-reporters features, anyhow.

@flavorjones flavorjones marked this pull request as ready for review October 10, 2023 21:18
With NCPU=7 I can usually get the suite done in under 1.8 seconds on
my laptop (inspired by tldr)

Note that we stop using minitest-reporters in the main suite because
the two gems aren't compatible. I wasn't often using
minitest-reporters features, anyhow.

However, we're keeping minitest-reporters in the Gemfile because we
use it in some of the CI scripts like test-gem-installation where the
spec output is useful.
@flavorjones flavorjones merged commit 672c162 into main Oct 14, 2023
123 of 125 checks passed
@flavorjones flavorjones deleted the flavorjones-faster-test-suite branch October 14, 2023 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant