Using require_relative to help using minitest #67
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi!
When I was doing #66 I was trying to find a way to run only 1 test scenario, like I am used to do with rspec.
Then, installed the gem
m
, tried to run only 1 scenario and got this error:$ m tests/jpeg_test.rb:36 Failed loading test file: cannot load such file -- test_helper There were no tests found.
Then, I changed
require
byrequire_relative
and I managed to run the way I wanted:I'm not sure if there is a way to run a specific scenario with the gem
test-unit
which is the default for this project.But I think the modification that I'm proposing will not affect anything.