Open trobonox opened 1 year ago
let me look into it
TL;DR: Use Vitest for unit tests on logic like JSON saving, utils and dnd mechanics. Use Playwright for E2E testing of full user flows, dnd UI and platform specific features (e.g., file system). This covers both isolated logic and critical user interactions across platforms.
This Testing Strategy is optimized for the Nuxt + Tauri stack and is also compatible with GH actions for automatic tests
Love to hear your feedback @trobonox
I am currently debating how the application should be tested, open for ideas (frameworks to use, what approach makes most sense for this app). Since the app uses TypeScript, mostly saving logic to JSON and drag-n-drop would have to be tested, so unit tests might be the most appropriate.
Tracking issue, open for suggestions/ideas.