fair-plugin/bin
Chuck Adams 0ed8f2bfa7
refactor: flatten tests/sites/ephemeral/ → tests/sites/
Move everything from tests/sites/ephemeral/ up one level to tests/sites/.
The 'ephemeral' qualifier didn't add value — all sites under tests/sites/
are ephemeral Docker setups by design.

- tests/sites/Dockerfile.wp (shared WP image)
- tests/sites/docker-compose.base.yml (shared template)
- tests/sites/integration/ (WP + mock-server, used by both integration & HTTP)
- tests/sites/browser-test/ (WP + mock-server, used by Playwright)
- tests/sites/mutation/ (PHP 8.5 + Infection, isolated composer.json)

All context and volume mount paths updated for the new depth:
  context: ../../../.. → ../../..
  volumes: ../../../../ → ../../..

bin/run-integration.sh refactored:
- SUITE argument now gates which tests run: 'integration', 'http', or 'all'
- Both integration and http share the integration compose stack
- Separate project names (fair-integration-integration vs fair-integration-http)
  avoid port conflicts when both run in sequence

composer.json:
- test:integration → integration tests only
- test:http → HTTP tests only (own compose cycle)
- test:all chains unit, multisite, integration, http

Verified: test:all exits 0 (262+262+12+12 tests). Browser 15/15 pass.
Signed-off-by: Chuck Adams <chaz@chaz.works>
2026-06-09 16:25:09 -06:00
..
bundle.sh Release merging 1.3.0 into main for production release! (#439) 2026-02-25 16:03:02 -06:00
install-wp-tests.sh Add initial PHPUnit test infrastructure. (#60) 2025-06-16 19:56:25 +01:00
run-integration.sh refactor: flatten tests/sites/ephemeral/ → tests/sites/ 2026-06-09 16:25:09 -06:00
setup-local-tests.php fix: patch WP test library install.php to remove E_STRICT reference 2026-06-09 15:44:31 -06:00
update-browsers.sh Patch update browsers bin (#44) 2025-11-03 18:44:51 +00:00