mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2026-08-10 13:50:27 +08:00
Four-layer test pyramid: unit, integration, HTTP, browser. DID-manager pipeline is the top-priority functional area. Ephemeral sites under tests/sites/ephemeral/ for CI. Static pet scenarios under tests/sites/static/ for exotic configs. 13-phase implementation plan with parallelization notes. Signed-off-by: Chuck Adams <chaz@chaz.works>
1.7 KiB
1.7 KiB
Testing Plan — FAIR Plugin
Status: Design validated, pending implementation
Date: 2026-06-09
Branch:development(or dedicated feature branch)
Overview
Four-layer test pyramid for the FAIR WordPress plugin. The DID-manager package pipeline (inc/packages/) is the top-priority functional area. Edge case coverage must be exhaustive; Infection mutation testing will be added in a follow-up pass.
| Layer | Directory | Docker? | Target URL |
|---|---|---|---|
| Unit | tests/unit/ |
No | N/A |
| Integration | tests/integration/ |
Yes (ephemeral) | tests/sites/ephemeral/<suite>/ |
| HTTP | tests/http/ |
Optional | Configurable (ephemeral or pet) |
| Browser | tests/browser/ |
Recommended | Configurable (ephemeral or pet) |
Documents
- test-directory-layout.md — File structure, bootstrap files, configs
- unit-tests.md — Packages/DID pipeline strategy, factory/fixture design, module coverage matrix
- integration-tests.md — Docker Compose harness, mock DID server, site lifecycle, seeding
- http-tests.md — HTTP-level tests against configurable base URL, group annotations
- browser-tests.md — Playwright specs, auth bootstrap, UI coverage
- static-sites.md — Persistent pet instances for exotic configurations (Bedrock, custom dir layouts, etc.)
- ci-strategy.md — GitHub Actions workflow, matrix, group-gated gates
- implementation-order.md — 13-phase execution plan with parallelization notes