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 do I run the test suite with the docker-compose command? #2080

Open
jhsu802701 opened this issue Oct 25, 2019 · 1 comment

Comments

@jhsu802701
Copy link
Contributor

@jhsu802701 jhsu802701 commented Oct 25, 2019

The Docker setup instructions do not show how to run the test suite with the docker-compose command. I've successfully set up the app and started the Rails server with the following command (which is in the instructions):

GITHUB_CLIENT_ID=yourclientid GITHUB_CLIENT_SECRET=yourclientsecret docker-compose up --build

What is the docker-compose command for running the test suite? It should be added to the Docker setup instructions.

@jhsu802701

This comment has been minimized.

Copy link
Contributor Author

@jhsu802701 jhsu802701 commented Oct 29, 2019

When I enter "docker-compose run -e "RAILS_ENV=test" app rake test", I get the following message:

LoadError: cannot load such file -- simplecov

When I enter 'docker-compose run -e "RAILS_ENV=test" app gem list simplecov', I see that simplecov hasn't been loaded.

I tried entering 'docker-compose run -e "RAILS_ENV=test" app bundle install', but simplecov still doesn't get installed.

Exactly what is the procedure for running the test suite with the docker-compose command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.