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
I ran into this again with another project. I have test helpers that via Rake I'm adding the paths to (task.libs <<). This works fine via bundle exec rake from the console, but not via this extension - even though it executes bundle exec rake.
If you want to use only require you need to make sure that something like the following $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) runs during the load of your test files.
I got a Rake task for my tests that looks like this:
I originally configured the test runner as:
But that would not discover, run or debug any tests because the lib paths from the Rake task where not recognized.
I was however able to make it work by adding the lib paths again to each command:
Is this expected? Is there a different way I can set this up that avoids duplicating the paths in multiple places?
The text was updated successfully, but these errors were encountered: