Files
headquarter/openspec/changes/archive/2025-05-18-test-infrastructure-improvements/.pi-map.md
T
Developer 070cd4d5a5 chore: track all project map and index files
Add generated .pi-map.md and .pi-map.index.md files across the repository
so the project navigation maps are shared and versioned. These artifacts
are maintained by project_map_init/patch/validate and must be kept in
sync with source edits.

Note: .cache/ remains ignored (added in previous commit).
2026-06-12 13:46:23 +00:00

1.9 KiB

openspec/changes/archive/2025-05-18-test-infrastructure-improvements

dir: openspec/changes/archive/2025-05-18-test-infrastructure-improvements

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

role

Documents a completed test infrastructure modernization initiative that restructured a backend API project's testing into unit/integration/system tiers with multi-database support and E2E coverage.

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

Specification-driven change management using OpenSpec metadata with design-proposal-tasks workflow; test architecture follows layered pyramid pattern (unit/SQLite, integration/PostgreSQL, system/E2E with Playwright) employing shared fixtures and transaction rollback isolation.

tags

pytest, sqlite, postgresql, playwright, design, restructuring, test, unit

symbols

workflows

dirty