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 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,7 @@ created: 2026-03-13
|
|||||||
|----------|-------|
|
|----------|-------|
|
||||||
| **Framework** | pytest 7.x |
|
| **Framework** | pytest 7.x |
|
||||||
| **Config file** | pyproject.toml (Wave 0 creates) |
|
| **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` |
|
| **Full suite command** | `pytest tests/ -v --cov=src` |
|
||||||
| **Estimated runtime** | ~15 seconds |
|
| **Estimated runtime** | ~15 seconds |
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ created: 2026-03-13
|
|||||||
|
|
||||||
## Sampling Rate
|
## 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`
|
- **After every plan wave:** Run `pytest tests/ -v --cov=src`
|
||||||
- **Before `/gsd:verify-work`:** Full suite must be green
|
- **Before `/gsd:verify-work`:** Full suite must be green
|
||||||
- **Max feedback latency:** 15 seconds
|
- **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 |
|
| 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-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/unit/test_state_manager.py::test_atomic_write -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/unit/test_schema_registry.py -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/unit/test_schema_registry.py::test_step_input_output -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/unit/test_error_handler.py -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/unit/test_config_manager.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*
|
*Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky*
|
||||||
|
|
||||||
@@ -51,11 +51,11 @@ created: 2026-03-13
|
|||||||
|
|
||||||
## Wave 0 Requirements
|
## Wave 0 Requirements
|
||||||
|
|
||||||
- [ ] `tests/unit/test_state_manager.py` — stubs for PIPE-02, REL-01, REL-02
|
- [ ] `tests/test_pipeline/test_state.py` — stubs for PIPE-02, REL-01, REL-02
|
||||||
- [ ] `tests/unit/test_schema_registry.py` — stubs for PIPE-01, PIPE-03, VAL-01
|
- [ ] `tests/test_pipeline/test_schemas.py` — stubs for PIPE-01, PIPE-03, VAL-01
|
||||||
- [ ] `tests/unit/test_error_handler.py` — stubs for REL-03, MNT-03
|
- [ ] `tests/test_pipeline/test_errors.py` — stubs for REL-03, MNT-03
|
||||||
- [ ] `tests/unit/test_config_manager.py` — stubs for MNT-02
|
- [ ] `tests/test_pipeline/test_config.py` — stubs for MNT-02
|
||||||
- [ ] `tests/conftest.py` — shared fixtures (temp dirs, mock env)
|
- [ ] `tests/test_pipeline/conftest.py` — shared fixtures (temp dirs, mock env)
|
||||||
- [ ] `pytest` + `pytest-cov` — if no framework detected
|
- [ ] `pytest` + `pytest-cov` — if no framework detected
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user