Skip to content

Testing ​

Rust ​

bash
cargo test --workspace

This runs:

  • core unit tests (store, lock, import, migration, credential lifecycle);
  • CLI unit and contract tests;
  • cross-process store tests that spawn the real binary;
  • Tauri adapter tests.

Frontend ​

bash
npm test

Vitest runs the React tests, including the connection vault and the migration report.

Database integration ​

The Database integration CI job runs the core and CLI integration tests against disposable PostgreSQL and MySQL service containers. It is not part of the default local run.

Documentation site ​

bash
cd website
npm run build

The build fails on a broken internal link.

What the tests pin ​

AreaRepresentative tests
Store round tripsave_and_load_round_trip
No password in the storeserialized_store_never_contains_a_password
Atomic writeatomic_write_leaves_no_temporary_file
Import provenanceimport_sets_provenance_and_unknown_target
Idempotent migrationrepeated_migration_is_idempotent
Conflict reportinga_conflicting_migration_is_not_reported_as_complete
Revision conflicta_stale_revision_is_a_conflict
Lock livenessa_live_owner_is_not_stolen
Cross-processtwo_processes_do_not_lose_each_others_import
Credential coordinationa_stale_revision_does_not_touch_the_credential

Released under the MIT License.