What problem does it solve? Writing component tests across a cross-platform design system is error-prone because web and React Native use different test runners, rendering harnesses, and query conventions. This Skill encodes the shared testing philosophy and per-platform rules so tests follow the correct structure, coverage expectations, and runner APIs from the start. ## Core Features & Use Cases - Shared conventions: Explicit test global imports, callback spy assertions, behavior-focused coverage, structured describe/it organization, and a no-snapshot policy. - React web guidance: Vitest plus React Testing Library patterns, accessible queries, fireEvent and userEvent usage, and vi.fn() spies. - React Native guidance: Jest plus React Native Testing Library patterns, mandatory ThemeProvider wrapping, testID queries, and jest.fn() spies. - Use Case: When adding a new Button variant in libs/ui-rnative, load this Skill to generate a Jest test suite wrapped in ThemeProvider that covers rendering, interactions, and the disabled state. ## Quick Start Write tests for the Button component in libs/ui-react following the component-testing conventions.