mirror of
https://ghproxy.net/https://github.com/fairpm/fair-plugin.git
synced 2026-08-06 13:10:27 +08:00
Updated summary table: 5/6 general expansions done, 4/4 antipatterns. Section 7: zero-refactoring table marked ALL DONE with commit refs. Sections 2.2, 4.2, 4.4, 4.5, 4.6 collapsed into resolved summaries. Final state: 18/23 actionable items resolved. 5 remaining all blocked on production code refactoring (private→protected, extraction). Signed-off-by: Chuck Adams <chaz@chaz.works> |
||
|---|---|---|
| .. | ||
| browser-tests.md | ||
| ci-strategy.md | ||
| http-tests.md | ||
| implementation-order.md | ||
| integration-tests.md | ||
| README.md | ||
| static-sites.md | ||
| test-directory-layout.md | ||
| test-quality-audit.md | ||
| unit-tests.md | ||
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