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

wp-now: Support running integration tests #84

Open
GaryJones opened this issue Jun 27, 2023 · 1 comment
Open

wp-now: Support running integration tests #84

GaryJones opened this issue Jun 27, 2023 · 1 comment
Labels

Comments

@GaryJones
Copy link
Member

The regular install-wp-tests.sh found with most plugins uses/requires a MySQL setup. It would be great to be able to have a playbook for how to allow plugins to run their integration tests with wp-now. For example:

cd MyPlugin
composer install
composer test-integration (or wp-now --tests, etc.)

This may fall more on the sqlite database plugin side of features, but being able to have the same setup for testing as what the plugin could be running in the wild with (and locally) seems advantageous.

@danielbachhuber
Copy link
Member

Great idea!

We might need to sort out WordPress/wordpress-playground#594 first.

johnhooks pushed a commit to johnhooks/playground-tools that referenced this issue Oct 11, 2024
The errors are reported in the devtools console.

Co-authored-by: Adam Zieliński <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants