Files

15 lines
601 B
Markdown

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