Community코딩 & 개발github.com

callstack/react-native-testing

React Native Testing Library (RNTL) v13 및 v14를 사용하여 React Native 컴포넌트 테스트를 작성, 검토, 수정합니다.

react-native-testing란 무엇인가요?

이 스킬은 React Native Testing Library (RNTL, `@testing-library/react-native`)의 v13과 v14 두 버전을 모두 지원하여 React Native 컴포넌트 테스트를 돕습니다. v13은 React 18 기반의 동기 렌더링을, v14는 React 19+ 기반의 비동기 렌더링을 지원합니다. `render`, `screen`, 다양한 쿼리(`getBy`, `getAllBy`, `queryBy`, `findBy`), Jest 매처, `userEvent`, `fireEvent`, `waitFor` 및 비동기 패턴 등 테스트 작성에 필요한 핵심 기능을 모두 다룹니다. 이 스킬은 React Native 컴포넌트 테스트 파일 작성, RNTL import, 'testing library', 'write tests', 'component tests', 'RNTL' 키워드가 포함된 질문에 자동으로 트리거되어 개발자가 효율적이고 정확한 컴포넌트 테스트를 작성할 수 있도록 지원합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/callstack/react-native-testing-library/tree/main/skills/react-native-testing

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

react-native-testing은(는) 무엇을 하나요?

React Native Testing Library (RNTL) v13 및 v14 (@testing-library/react-native)를 사용하여 테스트를 작성합니다. React Native 컴포넌트 테스트를 작성, 검토 또는 수정할 때 사용하세요. 다음을 다룹니다: render, screen, 쿼리(getBy/getAllBy/queryBy/findBy), Jest 매처, userEvent, fireEvent, waitFor 및 비동기 패턴. v13 (React 18, 동기 렌더링) 및 v14 (React 19+, 비동기 렌더링)를 지원합니다. 다음 경우에 트리거됩니다: React Native 컴포넌트 테스트 파일, RNTL import, "testing library", "write tests", "component tests" 또는 "RNTL" 언급.

관련 스킬