Skip to content

Align PHPUnit workflow with Pro test setup - #48

Merged
firstelementjp merged 3 commits into
mainfrom
develop
Apr 14, 2026
Merged

Align PHPUnit workflow with Pro test setup#48
firstelementjp merged 3 commits into
mainfrom
develop

Conversation

@firstelementjp

Copy link
Copy Markdown
Owner

Summary

  • align the free plugin PHPUnit workflow with the improved Pro test setup
  • add a reusable wp-tests-config.php.example template for local WordPress test environments
  • update the README testing instructions to document the new setup flow

Changes

  • refactor tests/bootstrap.php to use a WordPress-aware bootstrap flow
  • update phpunit.xml coverage settings
  • relax the version format assertion in tests/Unit/BasicTest.php
  • ignore the local wp-tests-config.php file
  • document Local by Flywheel PHPUnit setup in README.md
  • add wp-tests-config.php.example

Testing

  • composer test

@firstelementjp
firstelementjp merged commit 0c87301 into main Apr 14, 2026
2 checks passed
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.

2 participants