{"id":32352412,"url":"https://github.com/callstackincubator/react-native-harness","last_synced_at":"2026-04-13T12:01:15.066Z","repository":{"id":318915817,"uuid":"1003469691","full_name":"callstackincubator/react-native-harness","owner":"callstackincubator","description":"Harness brings Jest-style tests to real native environments so you can test TurboModules like you would test your React Native app: with JavaScript.","archived":false,"fork":false,"pushed_at":"2026-04-07T08:20:58.000Z","size":5099,"stargazers_count":265,"open_issues_count":5,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-07T08:28:08.335Z","etag":null,"topics":["react-native","testing-tools"],"latest_commit_sha":null,"homepage":"https://react-native-harness.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/callstackincubator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-17T07:41:33.000Z","updated_at":"2026-04-07T07:44:30.000Z","dependencies_parsed_at":"2026-01-08T13:06:09.634Z","dependency_job_id":"d81a0578-a961-4586-adb0-d096e5b912a7","html_url":"https://github.com/callstackincubator/react-native-harness","commit_stats":null,"previous_names":["callstackincubator/react-native-harness"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/callstackincubator/react-native-harness","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callstackincubator%2Freact-native-harness","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callstackincubator%2Freact-native-harness/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callstackincubator%2Freact-native-harness/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callstackincubator%2Freact-native-harness/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/callstackincubator","download_url":"https://codeload.github.com/callstackincubator/react-native-harness/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/callstackincubator%2Freact-native-harness/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31751705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["react-native","testing-tools"],"created_at":"2025-10-24T10:01:24.662Z","updated_at":"2026-04-13T12:01:15.056Z","avatar_url":"https://github.com/callstackincubator.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![harness-banner](https://react-native-harness.dev/harness-banner.jpg)\n\n### Jest-style tool for testing native behavior directly on devices\n\n[![mit licence][license-badge]][license]\n[![npm downloads][npm-downloads-badge]][npm-downloads]\n[![Chat][chat-badge]][chat]\n[![PRs Welcome][prs-welcome-badge]][prs-welcome]\n\nBridge the testing gap: Jest-style tests in real native environments. Get the convenience of describe/it with full access to native modules.\n\n## Features\n\n- **Jest-Style Syntax, Native Power**: Write familiar describe/it tests that run in real iOS and Android environments with full native module access.\n- **Best of Both Worlds**: Unlike Jest (Node.js only) or Maestro (UI-based), get convenient test syntax AND native environment execution.\n- **Real Device, Simulator \u0026 Web Testing**: Execute tests on iOS simulators, Android emulators, or in a browser (Web) — catch platform-specific issues Jest can't see.\n- **Native Module Testing**: Test native modules, platform APIs, and device-specific functionality that's impossible with JavaScript-only runners.\n- **Familiar Test Structure**: Use beforeEach, afterEach, describe, it, expect — all the testing patterns you know and love from Jest.\n- **Zero Configuration Setup**: Drop-in replacement for your existing test workflow with TypeScript support and seamless CI/CD integration.\n\n## Quick Configuration Example\n\n```javascript\n// rn-harness.config.mjs\nimport {\n  androidPlatform,\n  androidEmulator,\n  physicalAndroidDevice,\n} from '@react-native-harness/platform-android';\nimport {\n  applePlatform,\n  applePhysicalDevice,\n  appleSimulator,\n} from '@react-native-harness/platform-apple';\n\nconst config = {\n  entryPoint: './src/main.tsx',\n  appRegistryComponentName: 'MyApp',\n\n  runners: [\n    androidPlatform({\n      name: 'android',\n      device: androidEmulator('Pixel_8_API_35'),\n      bundleId: 'com.myapp',\n    }),\n    applePlatform({\n      name: 'ios',\n      device: appleSimulator('iPhone 16 Pro Max', '18.0'),\n      bundleId: 'com.myapp',\n    }),\n  ],\n  defaultRunner: 'android',\n};\n\nexport default config;\n```\n\n## Documentation\n\nThe documentation is available at [react-native-harness.dev](https://react-native-harness.dev). You can also use the following links to jump to specific topics:\n\n- [Quick Start](https://react-native-harness.dev/docs/getting-started/quick-start)\n- [Configuration](https://react-native-harness.dev/docs/getting-started/configuration) (Metro port, plugins, timeouts, coverage, and more)\n- [Problem Statement](https://react-native-harness.dev/docs/getting-started/problem-statement)\n- [Feature Comparison](https://react-native-harness.dev/docs/feature-comparison)\n- [Running in CI/CD](https://react-native-harness.dev/docs/guides/ci-cd)\n- [API Reference](https://react-native-harness.dev/docs/api/defining-tests)\n\n## Made with ❤️ at Callstack\n\n`react-native-harness` is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Callstack][callstack-readme-with-love] is a group of React and React Native geeks, contact us at [hello@callstack.com](mailto:hello@callstack.com) if you need any help with these or just want to say hi!\n\nLike the project? ⚛️ [Join the team](https://callstack.com/careers/?utm_campaign=Senior_RN\u0026utm_source=github\u0026utm_medium=readme) who does amazing stuff for clients and drives React Native Open Source! 🔥\n\n[callstack-readme-with-love]: https://callstack.com/?utm_source=github.com\u0026utm_medium=referral\u0026utm_campaign=react-native-harness\u0026utm_term=readme-with-love\n[license-badge]: https://img.shields.io/npm/l/react-native-harness?style=for-the-badge\n[license]: https://github.com/callstackincubator/react-native-harness/blob/main/LICENSE\n[npm-downloads-badge]: https://img.shields.io/npm/dm/react-native-harness?style=for-the-badge\n[npm-downloads]: https://www.npmjs.com/package/react-native-harness\n[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge\n[prs-welcome]: ./CONTRIBUTING.md\n[chat-badge]: https://img.shields.io/discord/426714625279524876.svg?style=for-the-badge\n[chat]: https://discord.gg/xgGt7KAjxv\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallstackincubator%2Freact-native-harness","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcallstackincubator%2Freact-native-harness","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcallstackincubator%2Freact-native-harness/lists"}