@testing-library/react-native
Version:
Simple and complete React Native testing utilities that encourage good testing practices.
32 lines (27 loc) • 2.16 kB
Markdown
# React Native Testing Library package docs
These markdown files are bundled with the npm package for coding agents. They describe the installed package version.
Start with [LLM Guidelines](./guides/llm-guidelines.md) for rules overview, or use the included page list below to load specific references.
## Included pages
- [LLM Guidelines](./guides/llm-guidelines.md) - Quick rules for agents writing RNTL tests.
- [Quick Start](./guides/quick-start.md) - Installation and setup basics.
- [How to Query](./guides/how-to-query.md) - Query priority and selection guidance.
- [Common Mistakes](./guides/common-mistakes.md) - Common anti-patterns and preferred alternatives.
- [Troubleshooting](./guides/troubleshooting.md) - Common integration and runtime issues.
- [Testing Environment](./guides/testing-environment.md) - How RNTL simulates React Native under tests.
- [Understanding act](./guides/understanding-act.md) - How act warnings happen and how to resolve them.
- [Migration to 14.x](./guides/migration-v14.md) - Breaking changes and upgrade steps for RNTL v14.
- [API Overview](./api/overview.md) - Top-level API map.
- [render](./api/render.md) - Rendering components in tests.
- [screen](./api/screen.md) - Recommended global query surface.
- [Queries](./api/queries.md) - Query variants and predicates.
- [Jest Matchers](./api/jest-matchers.md) - Built-in RNTL assertions.
- [User Event](./api/user-event.md) - Realistic user interactions.
- [Fire Event](./api/fire-event.md) - Low-level event triggering.
- [Async Utilities](./api/async-utilities.md) - Async queries and wait helpers.
- [renderHook](./api/render-hook.md) - Testing custom hooks.
- [Configuration](./api/configuration.md) - Runtime configuration options.
- [Accessibility](./api/accessibility.md) - Accessibility helpers and hidden elements.
- [Other Helpers](./api/other-helpers.md) - within, act, cleanup, and related helpers.
- [Custom Render](./cookbook/custom-render.md) - Reusable render wrappers.
- [Async Events](./cookbook/async-events.md) - Testing async interactions.
- [Network Requests](./cookbook/network-requests.md) - Testing components that make network requests.