-
Notifications
You must be signed in to change notification settings - Fork 550
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
MiniTest vs Minitest #963
Comments
How do you envision this? |
Maybe? module MiniTest
class Test
def self.inherited(klass)
# gentle
warn "`MiniTest` is really ancient and deprecated, use `Minitest` pls"
# aggressive
raise "`MiniTest` is really ancient and deprecated, use `Minitest` pls"
end
end
end |
Thanks for creating this issue - I just upgraded some gems and also had the error Using the proper |
This got me, I had |
Thanks for all your hard work @zenspider, we love minitest and use it with many projects!
I got bit by this today. It took several hours to track down because my tests were innocently outputting:
0 runs, 0 assertions, 0 failures, 0 errors, 0 skips
I had no idea we were using the wrong module name. Sorry about that. A confounding factor is that we were blindly mixing a few methods into
MiniTest::Test
, inadvertently creating an empty module... I'm not suggesting we go backward, but maybe we could make this fail more violently for laggards like myself? I can imagine a placeholderMiniTest
that blows up instantly if you try to use it. Just a thought.Even if we don't make any changes, hopefully this issue will help future googlers. Here are some keywords - tests don't run, no tests found, minitest not running tests, minitest not finding tests, tests are being ignored, tests not loading, no minitest runnables, rake test not running tests, etc...
The text was updated successfully, but these errors were encountered: