Skip to content
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

how to test gem #113

Open
nvoynov opened this issue Dec 18, 2018 · 0 comments
Open

how to test gem #113

nvoynov opened this issue Dec 18, 2018 · 0 comments

Comments

@nvoynov
Copy link

nvoynov commented Dec 18, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant