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

PHPUnit Testing Fail? #32

Closed
sovrinbloc opened this issue May 19, 2018 · 2 comments
Closed

PHPUnit Testing Fail? #32

sovrinbloc opened this issue May 19, 2018 · 2 comments
Assignees

Comments

@sovrinbloc
Copy link

In trying to use phpunit inside any of the docker containers, I cannot. It yells at me to do a composer install but it mainly talks about how it can't find the current location. When I enter any besides nginx container, I get, shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory immediately when using docker exec -it .../bin/bash.

Do you have a way to do Unit tests?

Then when trying outside of docker and inside my local machine, no test passes. It seems like it is because I am not running the command from inside docker.
image
image

I'd possibly like to help with this project, as I am starting to use this as the base of one of my projects.

@guillaumebriday guillaumebriday self-assigned this May 21, 2018
@guillaumebriday
Copy link
Owner

Hey ! It's look like its a duplication of #25 ? Can you check ?

Thanks

@guillaumebriday
Copy link
Owner

I had the issue if I run the command docker-compose run --rm blog-server ./vendor/bin/phpunit --stop-on-failure before starting the mysql container.

This is so annoying but it's a duplication of #25.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants