Advises on appropriate testing approaches, recommends testing levels, and ensures comprehensive test coverage for business logic and edge cases.
Advises on appropriate testing approaches, recommends testing levels, and ensures comprehensive test coverage for business logic and edge cases.
Activated when users mention testing, validation, or quality assurance needs.
When implementing code changes, follow this validation sequence:
npm run build - Ensure TypeScript compilation succeedsnpm run lint - Check code quality and style compliancenpm run test:unit - Verify business logic integritynpm run test:e2e - Confirm end-to-end functionalityTest File Convention Investigation:
git log to identify when violations were introducedgrep patterns to find violations across multiple filesRefactoring Safety:
Ensure test files follow web-components-assistant guidelines:
any, but instead rely on proper TypeScript interfaces and component APIsPattern: HTML defines structure, TypeScript sets properties via setAttribute() or direct assignment.
Test File Design Constraints:
/app.js and calls aliased playground functions. No inline JavaScript for component setup.npm run build && npm run lint before E2E tests to catch compilation issuesThis skill promotes the project's testing standards using Vitest for unit tests and Playwright for E2E tests, ensuring comprehensive coverage of business logic.