Phase 7 — Real WordPress integration tests (v15.0)
Problem
All tests mock WordPress. No test verifies actual behavior with a real WordPress installation.
Proposed solution
- Add an optional CI job with
wp-env or Docker (WordPress + MySQL)
- Install Pollora in a real WordPress environment
- Test: full boot, route registration via
Route::wp(), template resolution, post types registered via register_post_type()
- Keep this job as "informational" (non-blocking) initially
Key files
.github/workflows/ci.yml (new integration job)
tests/Integration/ (new directory)
Target version
v15.0
Phase 7 — Real WordPress integration tests (v15.0)
Problem
All tests mock WordPress. No test verifies actual behavior with a real WordPress installation.
Proposed solution
wp-envor Docker (WordPress + MySQL)Route::wp(), template resolution, post types registered viaregister_post_type()Key files
.github/workflows/ci.yml(newintegrationjob)tests/Integration/(new directory)Target version
v15.0