Skip to content

Testing strategy

Mindwtr tests should protect shared behavior first, then platform behavior, then release-specific packaging assumptions.

Layers

LayerWhat it protects
CoreData model, parser, merge, recurrence, visibility, i18n.
DesktopTauri integration, SQLite persistence, keyboard/UI workflows.
MobileReact Native views, sync service, permissions, platform capture.
CloudAPI contracts, auth, snapshot sync, attachment endpoints.
MCPTool contracts and safe task operations.

What to test first

Test shared behavior in core when possible. Add platform tests when the behavior depends on permissions, native storage, packaging, or UI integration.

Regression checklist

  • Reproduce the bug.
  • Add a failing test or documented manual repro.
  • Fix the root cause.
  • Verify the specific regression.
  • Run the relevant package checks.

See also

Mindwtr is free, open source, and local-first.