4cb568c326
Use .venv/bin/python3 by default, with PYTHON_PATH as an override, and update the setup script and docs to match the new virtualenv-based workflow.
Tests
This directory is organized as follows:
tests/unit/: fast unit tests with mockstests/integration/: optional integration tests that may requirepykeepassand a Python environmenttests/fixtures/: bundled KeePass databases and matching JSON credentials/content files
Conventions
- Use
*.test.tsfilenames. - Keep unit tests isolated and fast.
- Prefer mocking the Python bridge in unit tests.
- Put environment-dependent checks in
tests/integration/. - Keep fixture-driven expectations aligned with the matching
*.kdbx.jsonfile. - Integration tests should skip or self-report when prerequisites are missing.