We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following methods have a note that they are "These are meant for library writers, NOT for regular test authors."
after_setup
after_teardown
before_setup
before_teardown
https://ruby-doc.org/stdlib-3.1.2/libdoc/minitest/rdoc/Minitest/Test/LifecycleHooks.html
I suspect people may incorrectly use these because are similarly named to the before and after hooks in RSpec.
before
after
(I think this would be a helpful addition to rubocop-minitest).
The text was updated successfully, but these errors were encountered:
Add section to discourage use of extension hooks
a323636
Closes rubocop#47
Successfully merging a pull request may close this issue.
The following methods have a note that they are "These are meant for library writers, NOT for regular test authors."
after_setup
after_teardown
before_setup
before_teardown
https://ruby-doc.org/stdlib-3.1.2/libdoc/minitest/rdoc/Minitest/Test/LifecycleHooks.html
I suspect people may incorrectly use these because are similarly named to the
before
andafter
hooks in RSpec.(I think this would be a helpful addition to rubocop-minitest).
The text was updated successfully, but these errors were encountered: