# openspec/changes/archive/2025-05-18-test-infrastructure-improvements/specs/test-organization dir: openspec/changes/archive/2025-05-18-test-infrastructure-improvements/specs/test-organization index: openspec/changes/archive/2025-05-18-test-infrastructure-improvements/specs/test-organization/.pi-map.index.md ## role Defines test categorization requirements for backend tests using pytest markers to distinguish unit, integration, and system test levels. ## files - spec.md | Defines requirements for organizing backend tests into unit, integration, and system categories with pytest markers | dep: pytest, pyproject.toml, apps/api/tests/ ## arch Specification-driven testing architecture using pytest marker-based test organization with clear separation of concerns across three test tiers. ## tags tests, pytest, spec, defines, requirements, organizing, backend, unit ## symbols - ## workflows - ## dirty -