writing-tests-react
Index to React component testing guides.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- writing-tests-react
- description
- Index to React component testing guides.
02 资源文件 2
- 参考文档references/jest-rtl.md1.7 KB
- 参考文档references/storybook.md2.6 KB
03 SKILL.md 正文
Writing React Tests
If this plugin is not initialized or an Agent IX command fails, read the dev-tools setup guide for its prerequisites and local diagnosis.
Index for testing React components.
Select Guide
1. Functional Unit Tests (Jest / RTL)
Use for verifyng:
- Component logic, state, side effects.
- DOM structure, accessibility (jest-axe).
- Service integration (mocked).
- Execution: Headless (jsdom), CI/CD.
- Includes Jest Test Generation Prompt.
2. Visual & Interaction Tests (Storybook)
Use for verifying:
- Visual states (Loading, Error, Empty).
- User flows (play functions).
- Documentation.
- Execution: Browser, visual regression.
- Includes Story Generation Prompt.
04 同仓库更多 Skills
assurance-onboarding
Capture a generic handoff in the fixture host.
writing-tests-typescript
Instructions for writing TypeScript tests (Jest), including typed mocks and testing patterns.
writing-tests-python
Instructions for writing Python tests (pytest), including mocking, fixtures, and golden path standards.
writing-tests-pg-data
Instructions for writing tests for PG Data services, likely involving database fixtures and integration tests.
security-deepsec
Run a generic DeepSec-backed security review and remediation burndown for one or more target repositories. Use when asked to audit a repo, app area, service family, frontend/backend/client/SDK surface, infrastructure, or security-sensitive workflow with DeepSec; when asked to create local audit artifacts, GitHub security issues, checksite coverage, finding reports, spec/AC/test traceability, or a repeatable security burndown process.
rust-style
Agent IX Rust conventions for every Rust coding and review task. Load this baseline even when the repository has additional Rust guidance; read the linked API, implementation, safety, boundary, testing, and Tokio references for the work at hand.