Skip to content

test: add pytest markers (unit/integration/database) and fix categorization #41

@dtsong

Description

@dtsong

Problem

make test-unit hardcodes 2 test files. No markers distinguish unit from integration tests. New unit test files are not automatically included.

Scope

  1. Add custom pytest markers: unit, integration, database, slow
  2. Mark existing tests appropriately
  3. Update Makefile: make test-unituv run pytest -m unit
  4. Register markers in pyproject.toml or conftest.py

Acceptance Criteria

  • Markers registered and documented
  • Existing tests marked
  • make test-unit uses marker-based selection

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2-mediumMedium priority, next 1-2 monthstestingTest coverage and infrastructuretriage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions