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

avoid environment dependecies in tests #938

Merged
merged 3 commits into from
Sep 18, 2015
Merged

avoid environment dependecies in tests #938

merged 3 commits into from
Sep 18, 2015

Conversation

ewgRa
Copy link
Contributor

@ewgRa ewgRa commented Sep 17, 2015

On my local computer not all plugins installed, proxy not set and etc. and tests failed, when it must be skipped.

This PR add skip test and so on where it is needed.

@ruflin
Copy link
Owner

ruflin commented Sep 17, 2015

@im-denisenko I think this could also going to be quite useful for ES 2.0

ruflin added a commit that referenced this pull request Sep 18, 2015
avoid environment dependecies in tests
@ruflin ruflin merged commit ed6ff9a into ruflin:master Sep 18, 2015
@ewgRa ewgRa deleted the tests-drop-env-dependencies branch September 18, 2015 07:29
@ruflin
Copy link
Owner

ruflin commented Sep 18, 2015

@ewgRa The other option to run all tests locally without needing the setup is using the docker-compose setup. The only thing you need to do is run make tests and have docker installed.

@ewgRa
Copy link
Contributor Author

ewgRa commented Sep 18, 2015

I will try later, but usually developers just go and run "phpunit". Better to have there passed or skipped tests for everyone, in this case more easy to ask another developers run tests.

@ruflin
Copy link
Owner

ruflin commented Sep 18, 2015

@ewgRa The problem with just running phpunit is that a lot of things can be different on each machine and some issues can be hard to reproduce. If everyone is running make tests we all have the exact same environment.

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

Successfully merging this pull request may close these issues.

2 participants