dainvo

Testing

The test strategy should keep persistence, sync, mapping, and validation logic covered without depending on live provider services.

Expected Checks

Once the app scaffold exists, run available checks before finishing each implementation step:

pnpm typecheck
pnpm lint
pnpm test
pnpm build

If a command is unavailable, explain why in the final response for that step.

Unit Tests

Add unit tests for:

Integration Tests

Add integration tests for:

Tests should use temporary or in-memory databases. They must not touch a real user database.

Provider Tests

Provider adapters must be mockable.

Electron UI Smoke Tests

Manual smoke tests are acceptable early for Electron UI behavior. Expected smoke coverage includes:

End-to-end tests with Playwright or another suitable tool can be added later where they provide enough value to justify the maintenance cost.