gem install --test and Rspec
When I create a gem, in the gem spec I can provide a list of test files. What unit test framework should those tests be written to?
Is there a way to run rspec tests when a gem is installed (and fail gracefully if rspec is not in the environment into which the gem is being installed).
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Eric Hodel on 20 Jul, 2010 08:24 PM
RubyGems is dropping the --test option in the next major release as there are now too many test frameworks for RubyGems to support.
We're hoping the community will be able to come up with a better solution.
test/unit has been the only supported option.
Eric Hodel closed this discussion on 20 Jul, 2010 08:24 PM.