-
Notifications
You must be signed in to change notification settings - Fork 39
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
A guide for making tests setup #466
Comments
Hi @davidperezgar, thanks for the question! I think we probably need to update the documentation for running tests locally when you're using environments that don't already support PHPUnit. The Given the many ways that people might be developing plugins using this tool, I think it would be a good idea for us to improve the included tools to provide ways to more easily run these locally on various environments. |
Thanks @joemcgill ! Yes, I'm trying to finishing my PR and I need to make the tests working. I use that, but I get this error:
Do you know if it's needed that config.js? What would be the content? |
Hi @davidperezgar! Could you please describe your local setup? Are you using I recently cloned this repo and ran PHPUnit tests using
|
Thanks! service "tests-cli" is not running service "tests-cli" is not running service "tests-cli" is not running |
the command |
Thanks @joemcgill for helping me solving the problem. It was the name of the folder has an space and that would breaks the tests. I've moved to another folder different than "Local Sites" and reinitiate all setup and now is working for me. We have to add it in the documentation. |
I've reopened the issue to make changes in the documentation to allow users to know how to run tests |
I'm finishing my check and I'd need some help about tests setup.
As I understand, is running:
npm run test-php
orcomposer test
but there are some setup that I don't find it clearly.Could you share with me how to make the setup?
The text was updated successfully, but these errors were encountered: