Skip to content

Add PHPUnit test infrastructure#31

Merged
fumikito merged 2 commits intomainfrom
add/phpunit
Mar 18, 2026
Merged

Add PHPUnit test infrastructure#31
fumikito merged 2 commits intomainfrom
add/phpunit

Conversation

@fumikito
Copy link
Contributor

Summary

  • PHPUnit + yoast/phpunit-polyfills を composer.json に追加
  • phpunit.xml.dist、tests/bootstrap.php を作成
  • 初期テスト3ファイルを追加(settings, editor, templates)
  • test.yml に PHPUnit ジョブ + カバレッジジョブを追加
  • package.json に npm test スクリプトを追加

Test plan

  • CI の PHPUnit ジョブが Green になること
  • npm test でローカルでもテスト実行可能なこと

🤖 Generated with Claude Code

Co-authored-by: Claude <noreply@anthropic.com>
@fumikito fumikito enabled auto-merge March 18, 2026 13:26
Co-authored-by: Claude <noreply@anthropic.com>
@fumikito fumikito merged commit 16484da into main Mar 18, 2026
9 checks passed
@fumikito fumikito deleted the add/phpunit branch March 18, 2026 13:55
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