# archive/2025-05-18-test-infrastructure-improvements
dir: archive/2025-05-18-test-infrastructure-improvements

index: archive/2025-05-18-test-infrastructure-improvements/.pi-map.index.md

## role
Contains design documents, proposals, and task tracking for a test infrastructure restructuring initiative that was archived after completion.
## files
- .openspec.yaml | Defines an OpenSpec configuration file with schema type and creation date metadata
- design.md | This file documents the design and migration plan for restructuring a test suite into unit, integration, and system categories with shared fixtures, SQLite/PostgreSQL separation, and E2E coverage. | dep: pytest, pytest-asyncio, SQLite, PostgreSQL, Playwright, Docker, React/Vite, asyncpg, pytest-xdist
- proposal.md | Proposes a comprehensive restructuring of test infrastructure to separate unit/integration/system tests, add shared fixtures, enable SQLite for unit tests, implement transaction rollback isolation, and introduce Playwright E2E testing. | dep: pytest, PostgreSQL, SQLite, Playwright, python-jose, docker, Makefile
- tasks.md | Project task list tracking completed testing infrastructure improvements for a backend API project including test restructuring, shared fixtures, multi-database support, E2E setup, and documentation. | dep: pytest, pytest-asyncio, SQLAlchemy, aiosqlite, PostgreSQL, Playwright, python-jose, TestClient, Makefile
## arch
Documentation-driven planning pattern with structured design docs (design.md, proposal.md) preceding implementation, tracked via task lists, using OpenSpec for schema metadata and following a test pyramid architecture (unit/integration/system/E2E tiers with shared fixtures and database isolation).
## tags
pytest, sqlite, postgresql, playwright, design, restructuring, test, unit
## symbols
-
## workflows
-
## dirty
-
