What problem does it solve?
This Skill provides a clear, repeatable approach to testing GeroCare applications, consolidating unit, integration, and end-to-end testing into a cohesive strategy so changes are reliably verified.
Core Features & Use Cases
- Testing stack: Vitest for unit tests and Playwright for end-to-end tests, with a suite of utilities to accelerate writing tests.
- Test infrastructure: Factories, test helpers, and mocks to simulate Firebase, Vue Router, and Pinia, enabling isolated and fast tests.
- Use Case: When adding features, changing business logic, or validating UI components, apply these patterns to produce robust, maintainable tests across the project.
Quick Start
Start by setting up Vitest and Playwright, create a simple test using a factory, and run unit tests to confirm the setup. Then extend with integration tests and small end-to-end tests as needed.