testing - Testing Library best practices for fitness apps
Guides user-centric component, API, and database tests with Vitest, Testing Library, and Nuxt Test Utils.
Tags
Updated: 2026-10-08Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Write component tests
- Write API tests
- Write database tests
- Query accessible elements
- Simulate user interactions
- Handle asynchronous state
Inputs
- Application components and pages
- Server API routes
- Database schemas and queries
- Test data and credentials
Outputs
- Test files
- Test assertions
- Test results
Requirements
- Vitest
- Testing Library
- Nuxt Test Utils
- Nuxt application environment
