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 feature request : run phpunit tests within wp-now #321

Closed
lgersman opened this issue Jul 1, 2024 · 3 comments
Closed

wp-now feature request : run phpunit tests within wp-now #321

lgersman opened this issue Jul 1, 2024 · 3 comments

Comments

@lgersman
Copy link

lgersman commented Jul 1, 2024

It would be a bummer if wp-now could be used to run PHPUnit testcases.

Right now I used to use wp-env for running PHPUnit tests in the CI pipeline. But wp-env is huge in terms of required ressources.

If wp-now would be able to run PHPUnit tests right in the browser, all testing (both e2e and PHPUNit) could be done using only the playwright framework. So much leaner than wp-env ...

I could find only a short notice in #28 that PHPUnit is not working.

What's the concrete problem ?

@adamziel
Copy link
Collaborator

adamziel commented Jul 1, 2024

@lgersman This is a larger Playground issue tracked in WordPress/wordpress-playground#111. I wonder how many PHPUnit tests would actually pass today, I haven't checked for a while. Would you be game for exploring?

@lgersman
Copy link
Author

lgersman commented Jul 2, 2024

Hi @adamziel,

for whatever reason i did not realized #11 before 😅.

Will have a look into it.

Thanks.

@adamziel
Copy link
Collaborator

adamziel commented Jul 3, 2024

Closing as a duplicate

@adamziel adamziel closed this as not planned Won't fix, can't repro, duplicate, stale Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants