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

Add WP phpunit #17

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 13 commits into from
Apr 12, 2022
Merged

Add WP phpunit #17

merged 13 commits into from
Apr 12, 2022

Conversation

thelovekesh
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 #

@thelovekesh thelovekesh requested a review from RahiDroid April 8, 2022 13:04
@thelovekesh thelovekesh self-assigned this Apr 8, 2022
@thelovekesh thelovekesh changed the base branch from main to develop April 12, 2022 09:49
@thelovekesh thelovekesh merged commit bd40af8 into develop Apr 12, 2022
@thelovekesh thelovekesh deleted the add/wp-phpunit branch April 12, 2022 10:04
@thelovekesh thelovekesh restored the add/wp-phpunit branch April 12, 2022 10:13
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.

1 participant