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
Ease execution of tests using Docker => simpler setup instructions in readme #60
Comments
Hypothesis: This is caused by the fact that |
=> Trying to add the following lines in
(as recommended there: http://corpus.hubwiz.com/2/node.js/27050643.html) |
...then:
(as recommended there: docker/compose#1487 (comment)) => getting => trying without sudo |
getting => replacing new lines in Dockerfile by:
(as recommended there: https://stackoverflow.com/a/28966356/592254 and https://hub.docker.com/r/richardxxx0x/docker-leanote/builds/bh3enhrdrfscxzrgxxybqol/) => now getting
=> Considering another alternative: run mongodb init scripts from the app server instead. |
(WIP) currently experimenting with:
current problem: it seems complicated to mix webdriver-based code (synchronous) and callback-based code with console.logs. => my tests start running before I'm done with my EDIT: it would probably make more sense to execute just unit tests in the container, while providing an easy way to run acceptance/end-to-end tests from outside the container (but connecting to the app server running inside the container) |
Different approach was chosen: run tests outside of Docker container, |
When running:
Unit tests are running fine, but getting error
mongo: not found
whentest-reset
npm script tries to re-init the testing database.The text was updated successfully, but these errors were encountered: