这是indexloc提供的服务,不要输入任何密码
Skip to content

Add WP phpunit #23

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

Merged
merged 17 commits into from
Apr 17, 2022
Merged

Add WP phpunit #23

merged 17 commits into from
Apr 17, 2022

Conversation

RahiDroid
Copy link
Member

Description

Configure PHP unit test cases.

Technical Details

  • Add phpunit library.
  • Add wp-phpunit library
  • Add yoast/phpunit-polyfills library.
  • Add wp-env package to run tests in docker env.
  • Add npm run test:php command to run php unit tests in docker(uses wp-env)

Checklist

Screenshots

To-do

Fixes/Covers issue

Fixes #

@RahiDroid RahiDroid linked an issue Apr 17, 2022 that may be closed by this pull request
2 tasks
@RahiDroid RahiDroid merged commit 1940467 into main Apr 17, 2022
@RahiDroid RahiDroid deleted the add/wp-phpunit branch April 17, 2022 20:32
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.

Setup testing
2 participants