Orchestrata Ultimate › Plans › plan_subphase_0_3 › subplan-test-infra-deps-2026-04-12

Subplan: Sub-phases 0.3 + 0.4 — Test Infrastructure + Dependencies (Steps 28-38)

Source: plans/plan_subphase_0_3/subplan-test-infra-deps-2026-04-12.md at 8a2cb42ad · last changed 2026-07-27 · first committed 2026-04-12 · 88 lines.

Prose pending.

Plan text

Subplan: Sub-phases 0.3 + 0.4 — Test Infrastructure + Dependencies (Steps 28-38)

Context

Sub-phase 0.2 (core port) is complete. 791 tests pass at 91% coverage on ported modules. This subplan sets up test infrastructure (fixtures, factories, markers) and updates pyproject.toml dependencies.

Source (read-only): /home/mohamed/workspace/orchestrata/ Target: /home/mohamed/workspace/orchestrata-ultimate/

Coverage gate: --cov-fail-under=90 — existing test coverage must not regress. Traceability: All fixtures and factories traced with @traces("REQ-0.3-XXX").


Steps

Step 28: Port root conftest.py (merge into existing)

Step 29: Port tests/fixtures/ (parallel-safe)

Step 30: Port tests/factories/

Step 31: Port tests/infrastructure.py

Step 32: Port conftest_infra_gate.py

Step 33: Set up auto-markers + register in pyproject.toml

Step 34: Create test directory structure

Step 35: Gate check — all tests pass (>=791)

Step 36: Update pyproject.toml

Step 37: Pin orchestrata source commit

Step 38: Phase 0 Final Gate Check


Requirements

REQ ID Description
REQ-0.3-001 conftest.py merged with auto-markers, no globals
REQ-0.3-002 fixtures/ ported, function-scope, safe env defaults
REQ-0.3-003 factories/ ported with ImportError guards
REQ-0.3-004 infrastructure.py + conftest_infra_gate.py ported
REQ-0.3-005 Auto-markers registered in pyproject.toml
REQ-0.3-006 15 test subdirectories created
REQ-0.3-007 pyproject.toml updated, uv sync clean
REQ-0.3-008 Orchestrata source pinned
REQ-0.3-009 All os.environ use .get() with defaults
REQ-0.3-010 Tests pass (>=791), coverage >=90% on ported