Skip to content

Real WordPress integration tests in CI #271

@ogorzalka

Description

@ogorzalka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions