atom-ruby-test
atom-ruby-test copied to clipboard
how to test gem
Hello,
I have just installed this package and a bit curious on how to choose between the whole command's options for my purposes.
I'm writing gems with bundler and using minitest as a test framework. Which commands I need to configure to run
- the whole test suite (
bundle exec rake test), - and one particular spec (bundle exec rake test TEST=test.rb).
Earlier I was using just script package and Ctrl+Shift+B command. It works but requires right include_relative that is not convenient because of wasting time. So I decided to stop to write require_relative and switched to console command bundle exec rake test. But switching between editor and console is also not so convenient.