You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add proper integration tests which run chruby against /opt/rubies or a given rubies/ directory. The test script should directly query the ruby for it's settings (RUBY_VERSION, RUBY_ENGINE, etc), attempt to switch to each ruby in the rubies/ directory, validate that the appropriate ENV variables have been set correctly, explicitly error on empty-values (ex: if the ruby returns an empty string for GEM_ROOT or RUBY_VERSION, something has broken).
All unit tests shall be moved into test/unit/, and all integration tests shall reside in test/integration/. Integration tests should probably not run as part of the CI just yet, and are more intended for local testing.
The text was updated successfully, but these errors were encountered:
Add proper integration tests which run chruby against
/opt/rubies
or a givenrubies/
directory. The test script should directly query the ruby for it's settings (RUBY_VERSION
,RUBY_ENGINE
, etc), attempt to switch to each ruby in therubies/
directory, validate that the appropriate ENV variables have been set correctly, explicitly error on empty-values (ex: if the ruby returns an empty string forGEM_ROOT
orRUBY_VERSION
, something has broken).All unit tests shall be moved into
test/unit/
, and all integration tests shall reside intest/integration/
. Integration tests should probably not run as part of the CI just yet, and are more intended for local testing.The text was updated successfully, but these errors were encountered: