Initial commit
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user