Initial commit

This commit is contained in:
2026-05-09 23:50:24 +02:00
commit 0d25e52ebc
21 changed files with 867 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
# Tests
This directory is organized as follows:
- `tests/unit/`: fast unit tests with mocks
- `tests/integration/`: optional integration tests that may require `pykeepass` and a Python environment
- `tests/fixtures/`: bundled KeePass databases and matching JSON credentials/content files
## Conventions
- Use `*.test.ts` filenames.
- 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.json` file.
- Integration tests should skip or self-report when prerequisites are missing.