Tests
This directory is organized as follows:
tests/unit/: fast unit tests for the native TypeScript APItests/integration/: optional compatibility tests that may usepykeepasstests/fixtures/: bundled KeePass databases and matching JSON credentials/content files
Conventions
- Use
*.test.tsfilenames. - Keep unit tests isolated and fast.
- Put compatibility or 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.