Skip to content

how to test gem #113

@nvoynov

Description

@nvoynov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions