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

Add support for minitest-reporters #3

Closed

Conversation

pnomolos
Copy link

Just to warn you, due to how Minitest's plugins are handled, even having minitest-reporters on your gem path means it will be automatically loaded.

@jeremyevans
Copy link
Owner

Thanks for the patch! Unfortunately, this approach invites the slippery slope, where minitest-parallel_fork becomes expected to support all minitest plugins.

Really, minitest should be modified not to automatically load plugins, or provide some way to control which plugins are loaded. If that can't be done, I'd be OK with moving the stat_reporter detection code to a method that you could override. But I'm not OK with having minitest-parallel_fork depend in any way on minitest-reporters (even as a development dependency).

@pnomolos
Copy link
Author

pnomolos commented Sep 8, 2017

@jeremyevans I opened an issue, with the suggestion that this not happen until MT6 anyway. I'd be grateful if you would move the stat_reporter somewhere that I could override (I can open a PR if you'd like).

@jeremyevans
Copy link
Owner

Thanks. Hopefully Minitest will fix the issue.

I'll extract the stat_reporter code to a separate method that you can override.

@zenspider
Copy link

minitest-reporters/minitest-reporters#247

and the proper solution has already been submitted:

minitest-reporters/minitest-reporters#237

flavorjones added a commit to sparklemotion/nokogiri that referenced this pull request Oct 14, 2023
because even having it in the Gemfile messes with
minitest-parallel_fork, sigh.

For context, see:

- minitest-reporters/minitest-reporters#247
- jeremyevans/minitest-parallel_fork#3
flavorjones added a commit to sparklemotion/nokogiri that referenced this pull request Oct 15, 2023
**What problem is this PR intended to solve?**

drop minitest-reporters, because even having it in the Gemfile messes
with
minitest-parallel_fork, sigh.

For context, see:

- minitest-reporters/minitest-reporters#247
- jeremyevans/minitest-parallel_fork#3

Also, avoid psych 5.1.1 because of
ruby/psych#655
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.

None yet

3 participants