From 4ccb2be1adcfdb085e517e73db224442f687bc34 Mon Sep 17 00:00:00 2001 From: starmen1265 Date: Fri, 13 Mar 2026 16:54:27 +0800 Subject: [PATCH] fix(01): align validation paths with plans Update VALIDATION.md test file paths to use tests/test_pipeline/ instead of tests/unit/ to match PLAN.md definitions. Co-Authored-By: Claude Opus 4.6 --- .../phases/01-foundation/01-VALIDATION.md | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.planning/phases/01-foundation/01-VALIDATION.md b/.planning/phases/01-foundation/01-VALIDATION.md index d784ce0..a8ebe8b 100644 --- a/.planning/phases/01-foundation/01-VALIDATION.md +++ b/.planning/phases/01-foundation/01-VALIDATION.md @@ -19,7 +19,7 @@ created: 2026-03-13 |----------|-------| | **Framework** | pytest 7.x | | **Config file** | pyproject.toml (Wave 0 creates) | -| **Quick run command** | `pytest tests/unit/ -q` | +| **Quick run command** | `pytest tests/test_pipeline/ -q` | | **Full suite command** | `pytest tests/ -v --cov=src` | | **Estimated runtime** | ~15 seconds | @@ -27,7 +27,7 @@ created: 2026-03-13 ## Sampling Rate -- **After every task commit:** Run `pytest tests/unit/ -q` +- **After every task commit:** Run `pytest tests/test_pipeline/ -q` - **After every plan wave:** Run `pytest tests/ -v --cov=src` - **Before `/gsd:verify-work`:** Full suite must be green - **Max feedback latency:** 15 seconds @@ -38,12 +38,12 @@ created: 2026-03-13 | Task ID | Plan | Wave | Requirement | Test Type | Automated Command | File Exists | Status | |---------|------|------|-------------|-----------|-------------------|-------------|--------| -| 01-01-01 | 01 | 1 | PIPE-02, REL-01 | unit | `pytest tests/unit/test_state_manager.py -v` | ❌ W0 | ⬜ pending | -| 01-01-02 | 01 | 1 | REL-02 | unit | `pytest tests/unit/test_state_manager.py::test_atomic_write -v` | ❌ W0 | ⬜ pending | -| 01-02-01 | 02 | 1 | PIPE-03, VAL-01 | unit | `pytest tests/unit/test_schema_registry.py -v` | ❌ W0 | ⬜ pending | -| 01-02-02 | 02 | 1 | PIPE-01 | unit | `pytest tests/unit/test_schema_registry.py::test_step_input_output -v` | ❌ W0 | ⬜ pending | -| 01-03-01 | 03 | 1 | REL-03, MNT-03 | unit | `pytest tests/unit/test_error_handler.py -v` | ❌ W0 | ⬜ pending | -| 01-03-02 | 03 | 1 | MNT-02 | unit | `pytest tests/unit/test_config_manager.py -v` | ❌ W0 | ⬜ pending | +| 01-01-01 | 01 | 1 | PIPE-02, REL-01 | unit | `pytest tests/test_pipeline/test_state.py -v` | ❌ W0 | ⬜ pending | +| 01-01-02 | 01 | 1 | REL-02 | unit | `pytest tests/test_pipeline/test_state.py::test_atomic_write -v` | ❌ W0 | ⬜ pending | +| 01-02-01 | 02 | 1 | PIPE-03, VAL-01 | unit | `pytest tests/test_pipeline/test_schemas.py -v` | ❌ W0 | ⬜ pending | +| 01-02-02 | 02 | 1 | PIPE-01 | unit | `pytest tests/test_pipeline/test_schemas.py::test_step_input_output -v` | ❌ W0 | ⬜ pending | +| 01-03-01 | 03 | 1 | REL-03, MNT-03 | unit | `pytest tests/test_pipeline/test_errors.py -v` | ❌ W0 | ⬜ pending | +| 01-03-02 | 03 | 1 | MNT-02 | unit | `pytest tests/test_pipeline/test_config.py -v` | ❌ W0 | ⬜ pending | *Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* @@ -51,11 +51,11 @@ created: 2026-03-13 ## Wave 0 Requirements -- [ ] `tests/unit/test_state_manager.py` — stubs for PIPE-02, REL-01, REL-02 -- [ ] `tests/unit/test_schema_registry.py` — stubs for PIPE-01, PIPE-03, VAL-01 -- [ ] `tests/unit/test_error_handler.py` — stubs for REL-03, MNT-03 -- [ ] `tests/unit/test_config_manager.py` — stubs for MNT-02 -- [ ] `tests/conftest.py` — shared fixtures (temp dirs, mock env) +- [ ] `tests/test_pipeline/test_state.py` — stubs for PIPE-02, REL-01, REL-02 +- [ ] `tests/test_pipeline/test_schemas.py` — stubs for PIPE-01, PIPE-03, VAL-01 +- [ ] `tests/test_pipeline/test_errors.py` — stubs for REL-03, MNT-03 +- [ ] `tests/test_pipeline/test_config.py` — stubs for MNT-02 +- [ ] `tests/test_pipeline/conftest.py` — shared fixtures (temp dirs, mock env) - [ ] `pytest` + `pytest-cov` — if no framework detected ---