feat: add native KDBX scaffolding and in-memory KeePass API
This commit is contained in:
+3
-4
@@ -2,14 +2,13 @@
|
||||
|
||||
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/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.
|
||||
- Prefer mocking the Python bridge in unit tests.
|
||||
- Put environment-dependent checks in `tests/integration/`.
|
||||
- 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.
|
||||
|
||||
Reference in New Issue
Block a user