-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Rationale
Faster local feedback for unit tests without Docker; clear commands to run suites explicitly.
Files
tests/conftest.py, tests undertests/pyproject.toml(pytest config)Justfile
Tasks
- Introduce
@pytest.mark.integrationfor tests requiring Docker - Replace the autouse Docker Compose session fixture with an integration-only fixture used by tests marked
integration - Update tests to use the integration fixture or add the
@pytest.mark.integrationmarker - Update pytest config to stop auto-marking all tests
- Add Just recipes:
-
pytest-unit:uv run pytest -v -m "not integration" -
pytest-integration:uv run pytest -v -m integration -
pytest-all: run both:just pytest-unit && just pytest-integration
-
- Optionally keep
pytestas an alias topytest-all
Acceptance criteria
-
just pytest-unitpasses locally without Docker -
just pytest-integrationruns only integration tests (with Docker) and passes -
just pytest-allruns unit then integration suites and passes -
just --listshows the three new recipes with clear descriptions
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request