# 2025-05-18-test-infrastructure-improvements dir: 2025-05-18-test-infrastructure-improvements index: 2025-05-18-test-infrastructure-improvements/.pi-map.index.md ## role Documents the planning, design, and tracking of test infrastructure improvements for a backend API project. ## 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 project management using structured markdown files (proposal → design → tasks) with OpenSpec metadata, following a waterfall-like planning pattern for test suite restructuring across unit/integration/system/E2E layers. ## tags pytest, sqlite, postgresql, playwright, design, restructuring, test, unit ## symbols - ## workflows - ## dirty -