rubocop-minitest
rubocop-minitest copied to clipboard
Minitest/GlobalExpectations: configure extra matcher methods
Is your feature request related to a problem? Please describe.
In one of my projects, there are other matcher methods that are not a part of the core Minitest library (perhaps an extension) but which would be nice to include in this cop.
Describe the solution you'd like
Add a configuration field which includes additional matcher methods for which to check:
AdditionalMethods:
- must_match_array
- wont_match_array
Describe alternatives you've considered
A custom cop is not maintainable.
Additional context
No.
In one of my projects, there are other matcher methods that are not a part of the core Minitest library (perhaps an extension)
@gi I have a question. Are these (must_match_array
and wont_match_array
) open source 3rd party custom matchers? Or is it your project's own proprietary custom matchers?
I'm going to close this issue because no response for a long time.