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
So I'm working on a project that has both unit tests and so called E2E tests in same repository. For these two purposes we're using different environments 'test' for unit and 'e2e_test' for e2e tests. I was trying to parallelize e2e_tests, I have database.yml setup for the environment, and was trying to run rake tasks with specified environment "RAILS_ENV=e2e_test bundle exec rake parallel:prepare" however it seems like it still always runs on 'test' environment.
As I understand, env is always selected here: https://github.com/grosser/parallel_tests/blob/master/lib/parallel_tests/tasks.rb#L9
Is there a way to override the environment and work on a different one than 'test'?
The text was updated successfully, but these errors were encountered:
Sorry it took so long to get back, but yeah, I was not able to achieve this. As can see in the commit of the line, environment is always forced as 'test' 135673d
So I'm working on a project that has both unit tests and so called E2E tests in same repository. For these two purposes we're using different environments 'test' for unit and 'e2e_test' for e2e tests. I was trying to parallelize e2e_tests, I have database.yml setup for the environment, and was trying to run rake tasks with specified environment "RAILS_ENV=e2e_test bundle exec rake parallel:prepare" however it seems like it still always runs on 'test' environment.
As I understand, env is always selected here: https://github.com/grosser/parallel_tests/blob/master/lib/parallel_tests/tasks.rb#L9
Is there a way to override the environment and work on a different one than 'test'?
The text was updated successfully, but these errors were encountered: