# React Testing Library

> React Testing Library mechanics for testing React components and hooks — query selection, async handling, user interaction, assertions, provider setup, and the anti-patterns that make tests brittle. Use for any test that renders a React component or a hook, including choosing between getBy/queryBy/findBy, userEvent flows, waitFor usage, renderHook, custom render wrappers, and reviewing RTL tests for implementation-detail assertions.

## Facts
- Page: https://tashan.sh/capability/plugin-shipshitdev-skills-react-testing-library
- tashan id: plugin:shipshitdev/skills/react-testing-library
- Source: https://github.com/shipshitdev/skills
- Type: plugin
- Category: design
- tashan score: 38.0 / 100
- Adoption: 7.0
- Upkeep: 90.0
- Freshness: 78.0
- Evidence coverage: 84% of the inputs this score can use
- Health: active
- Instruction depth: not yet graded
- Official: no

## Install

```sh
/plugin marketplace add shipshitdev/skills
/plugin install react-testing-library@shipshitdev
```

## Security audit
Not scanned. We audit npm-published capabilities; this one has no npm package we can resolve, or has not reached the queue. This is not a clean bill of health.

---
Measured 2026-11-24 by tashan (https://tashan.sh) from public evidence. Scorer s5.
