This is the go-to library for testing React components the way users actually interact with them. Instead of poking at component internals or state, you query elements by their accessible roles, labels, and visible text, then simulate real user events like typing and clicking. The query priority system pushes you toward getByRole and getByLabelText first, falling back to test IDs only when semantic queries won't work. It includes async utilities for waiting on elements that appear after data loads, and the user-event library over fireEvent for more realistic interactions. The philosophy is simple: if your test doesn't resemble how someone uses your UI, it's probably testing the wrong thing.
npx skills add https://github.com/itechmeat/llm-code --skill react-testing-library